Visual Basic (Declaration) | |
---|---|
Public Property FrozenTrailingRowCount As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SheetView Dim value As Integer instance.FrozenTrailingRowCount = value value = instance.FrozenTrailingRowCount |
C# | |
---|---|
public int FrozenTrailingRowCount {get; set;} |
Property Value
Integer number of frozen rowsException | Description |
---|---|
System.ArgumentOutOfRangeException | Specified value is out of range; must be greater than or equal to zero |
This property freezes the last n rows between the last scrollable viewport and the scroll bars similar to how the frozen leading property (FrozenRowCount) freezes the first m rows between the headers and the first scrollable viewport.
This example sets frozen trailing rows and columns.
C# | Copy Code |
---|---|
fpSpread1.Sheets[0].FrozenTrailingColumnCount = 1; fpSpread1.Sheets[0].FrozenTrailingRowCount = 1; |
Visual Basic | Copy Code |
---|---|
FpSpread1.Sheets(0).FrozenTrailingColumnCount = 1 FpSpread1.Sheets(0).FrozenTrailingRowCount = 1 |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
Reference
SheetView ClassSheetView Members