Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / ResizeZeroIndicator Property
Example


In This Topic
    ResizeZeroIndicator Property
    In This Topic
    Gets or sets the way FpSpread processes resizing for zero-height rows and zero-width columns.
    Syntax
    'Declaration
     
    Public Property ResizeZeroIndicator As ResizeZeroIndicator
    'Usage
     
    Dim instance As FpSpread
    Dim value As ResizeZeroIndicator
     
    instance.ResizeZeroIndicator = value
     
    value = instance.ResizeZeroIndicator
    public ResizeZeroIndicator ResizeZeroIndicator {get; set;}
    Remarks
    The ResizeZeroIndicator property specifies whether a zero-height row or zero-width column can be resized when users drag a finger using a touch device.
    Example
    This example sets the ResizeZeroIndicator property.
    fpSpread1.ResizeZeroIndicator = FarPoint.Win.Spread.ResizeZeroIndicator.Enhanced;
    fpSpread1.ActiveSheet.Columns[0, 5].Resizable = true;
    fpSpread1.ActiveSheet.Rows[0, 10].Resizable = true;
    fpSpread1.ActiveSheet.Columns[2].Width = 0;
    FpSpread1.ResizeZeroIndicator = FarPoint.Win.Spread.ResizeZeroIndicator.Enhanced
    FpSpread1.ActiveSheet.Columns(0, 5).Resizable = True
    FpSpread1.ActiveSheet.Rows(0, 10).Resizable = True
    FpSpread1.ActiveSheet.Columns(2).Width = 0
    See Also