Spread Windows Forms 9.0 Product Documentation
FrozenTrailingRowCount Property
Example 


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

Property Value

Integer number of frozen rows
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException Specified value is out of range; must be greater than or equal to zero
Remarks
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.
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 
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Setting Fixed (Frozen) Rows or Columns

 

 


Copyright © GrapeCity, inc. All rights reserved.