Visual Basic (Declaration) | |
---|---|
Public Property AutoSortFrozenRows As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SheetView Dim value As Boolean instance.AutoSortFrozenRows = value value = instance.AutoSortFrozenRows |
C# | |
---|---|
public bool AutoSortFrozenRows {get; set;} |
This example sets the AutoSortFrozenRows property.
C# | Copy Code |
---|---|
FpSpread1.Sheets[0].AutoSortFrozenRows = true; FpSpread1.Sheets[0].AutoSortFrozenTrailingRows = true; FpSpread1.Sheets[0].SetColumnAllowAutoSort(0,true); FpSpread1.Sheets[0].FrozenTrailingRowCount = 1; FpSpread1.Sheets[0].FrozenRowCount = 1; FpSpread1.Sheets[0].Rows.Count = 5; |
Visual Basic | Copy Code |
---|---|
FpSpread1.Sheets(0).AutoSortFrozenTrailingRows = True FpSpread1.Sheets(0).AutoSortFrozenRows = True FpSpread1.Sheets(0).SetColumnAllowAutoSort(0, True) FpSpread1.Sheets(0).FrozenTrailingRowCount = 1 FpSpread1.Sheets(0).FrozenRowCount = 1 FpSpread1.Sheets(0).Rows.Count = 5 |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8