Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / FrozenTrailingColumnCount Property
Example


In This Topic
    FrozenTrailingColumnCount Property
    In This Topic
    Gets or sets the number of non-scrolling columns on the trailing edge of this sheet.
    Syntax
    'Declaration
     
    Public Property FrozenTrailingColumnCount As Integer
    'Usage
     
    Dim instance As SheetView
    Dim value As Integer
     
    instance.FrozenTrailingColumnCount = value
     
    value = instance.FrozenTrailingColumnCount
    public int FrozenTrailingColumnCount {get; set;}

    Property Value

    Integer number of frozen columns
    Exceptions
    ExceptionDescription
    Specified value is out of range; must be greater than or equal to zero
    Remarks
    This property freezes the last n columns between the last scrollable viewport and the scroll bars similar to how the frozen leading property (FrozenColumnCount) freezes the first m columns between the headers and the first scrollable viewport.
    Example
    This example sets frozen trailing rows and columns.
    fpSpread1.Sheets[0].FrozenTrailingColumnCount = 1;
    fpSpread1.Sheets[0].FrozenTrailingRowCount = 1; 
    
    FpSpread1.Sheets(0).FrozenTrailingColumnCount = 1
    FpSpread1.Sheets(0).FrozenTrailingRowCount = 1 
    
    See Also