Spread Windows Forms 9.0 Product Documentation
AutoSortFrozenRows Property
Example 


Gets or sets a value that indicates whether frozen rows are sorted.
Syntax
'Declaration
 
Public Property AutoSortFrozenRows As Boolean
'Usage
 
Dim instance As SheetView
Dim value As Boolean
 
instance.AutoSortFrozenRows = value
 
value = instance.AutoSortFrozenRows
public bool AutoSortFrozenRows {get; set;}
Example
This example sets the AutoSortFrozenRows property.
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;
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
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

 

 


Copyright © GrapeCity, inc. All rights reserved.