Gets or sets whether to the frozen rows should be sorted when sorting command happens.
Syntax
Visual Basic (Declaration) | |
---|
Public Property SortFrozenRows As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SpreadCommandEventArgs
Dim value As Boolean
instance.SortFrozenRows = value
value = instance.SortFrozenRows |
C# | |
---|
public bool SortFrozenRows {get; set;} |
Example
This example sets the SortFrozenRows event argument.
C# | Copy Code |
---|
FpSpread1.Sheets[0].FrozenRowCount = 1;
FpSpread1.Sheets[0].AllowSort = true;
private void FpSpread1SortColumnCommand(object sender, FarPoint.Web.Spread.SpreadCommandEventArgs e)
{
e.SortFrozenRows = true;
} |
Visual Basic | Copy Code |
---|
FpSpread1.Sheets(0).FrozenRowCount = 1
FpSpread1.Sheets(0).AllowSort = True
Protected Sub FpSpread1_SortColumnCommand(ByVal sender As Object, ByVal e As FarPoint.Web.Spread.SpreadCommandEventArgs) Handles FpSpread1.SortColumnCommand
e.SortFrozenRows = True
End Sub |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also