| Visual Basic (Declaration) | |
|---|---|
Public Property FrozenRowCount As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public int FrozenRowCount {get; set;} | |
Return Value
Integer number of frozen rows| Exception | Description |
|---|---|
| ArgumentOutOfRangeException | Specified value is out of range; must be greater than or equal to zero |
This example sets the number of rows that cannot be scrolled to ten.
| C# | Copy Code |
|---|---|
fpSpread1.ActiveSheet.FrozenColumnCount = 10; | |
| Visual Basic | Copy Code |
|---|---|
FpSpread1.ActiveSheet.FrozenColumnCount = 10 | |
This property freezes the first m rows between the headers and the first scrollable viewport similar to how the frozen trailing property (FrozenTrailingRowCount) freezes the last n rows between the last scrollable viewport and the scroll bars.
Reference
SheetView ClassSheetView Members