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


In This Topic
    AutoFitRowOptions Property (FpSpread)
    In This Topic
    Gets or sets the behavior of automatic fit when double-clicking the bottom edge of the row header.
    Syntax
    'Declaration
     
    Public Property AutoFitRowOptions As PreferredSizeRowOptions
    'Usage
     
    Dim instance As FpSpread
    Dim value As PreferredSizeRowOptions
     
    instance.AutoFitRowOptions = value
     
    value = instance.AutoFitRowOptions
    public PreferredSizeRowOptions AutoFitRowOptions {get; set;}
    Example
    This example sets the automatic fit options.
    fpSpread1.AutoFitColumnOptions = FarPoint.Win.Spread.PreferredSizeColumnOptions.ExcludeHeaders;
    fpSpread1.AutoFitRowOptions = FarPoint.Win.Spread.PreferredSizeRowOptions.ExcludeHeaders;
    FpSpread1.AutoFitColumnOptions = FarPoint.Win.Spread.PreferredSizeColumnOptions.ExcludeHeaders
    FpSpread1.AutoFitRowOptions = FarPoint.Win.Spread.PreferredSizeRowOptions.ExcludeHeaders
    See Also