Spread Windows Forms 11.0 Product Documentation
SortIndicator Field
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > SheetAxisProperty Class : SortIndicator Field
Represents the axis model SortIndicator property.
Syntax
'Declaration
 
Public Shared ReadOnly SortIndicator As SheetAxisProperty
'Usage
 
Dim value As SheetAxisProperty
 
value = SheetAxisProperty.SortIndicator
public static readonly SheetAxisProperty SortIndicator
Example
This example checks to see if the SortIndicator property has been set for the specified index of the model.
FarPoint.Win.Spread.Model.DefaultSheetAxisModel defAxis = new FarPoint.Win.Spread.Model.DefaultSheetAxisModel(20, FarPoint.Win.Spread.Model.SheetAxisOrientation.Vertical);
fpSpread1.ActiveSheet.Models.ColumnAxis = defAxis;
bool b;
defAxis.SetSortIndicator(0, FarPoint.Win.Spread.Model.SortIndicator.Ascending);
b = defAxis.IsPropertySet(0, FarPoint.Win.Spread.Model.SheetAxisProperty.SortIndicator);
listBox1.Items.Add(b.ToString());
Dim defAxis As New FarPoint.Win.Spread.Model.DefaultSheetAxisModel(20, FarPoint.Win.Spread.Model.SheetAxisOrientation.Vertical)
defAxis = FpSpread1.ActiveSheet.Models.ColumnAxis
Dim b As Boolean
defAxis.SetSortIndicator(0, FarPoint.Win.Spread.Model.SortIndicator.Ascending)
b = defAxis.IsPropertySet(0, FarPoint.Win.Spread.Model.SheetAxisProperty.SortIndicator)
ListBox1.Items.Add(b.ToString())
See Also

Reference

SheetAxisProperty Class
SheetAxisProperty Members