SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the sorting indicator position of the cell.
Class: CellBaseClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
public SortIndicatorPositionEnum SortIndicatorPosition { get; set; }
Public Property SortIndicatorPosition As SortIndicatorPositionEnum
The sorting indicator position.
The default value is SortIndicatorPositionEnum.None.
Defines the sorting indicator position of the cell.
Any cell can have a sorting indicator, although this is commonly only used for cells located in column headers.
can be defined using the following properties: RowHeadersClass.SortIndicatorPositionDefault for row headers, SftTree.SortIndicatorPositionDefault for items, HeadersClass.SortIndicatorPositionDefault for column headers, FootersClass.SortIndicatorPositionDefault for column footers.
The display of the sorting indicator is defined using the SortStatus property.
The CellBaseClass.EvaluatedSortIndicatorPosition property can be used to retrieve the actual sorting indicator position for this cell by evaluating the default settings.
ip.HAlign = HAlignmentOptionalEnum.Center; cell.Parts.Add(ip); tp = new TextPartClass("Third part"); tp.HAlign = HAlignmentOptionalEnum.Left; cell.Parts.Add(tp); // Set a sorting indicator in the first column header cell = sftTree1.Headers[0,0]; cell.SortIndicatorPosition = SortIndicatorPositionEnum.Side; cell.SortStatus = SortStatusEnum.Ascending; sftTree1.Columns.MakeOptimal(0, false); sftTree1.RecalcHorizontalExtent(); sftTree1.Initializing = false; }
ip.HAlign = HAlignmentOptionalEnum.Center cell.Parts.Add(ip) tp = New TextPartClass("Third part") tp.HAlign = HAlignmentOptionalEnum.Left cell.Parts.Add(tp) ' Set a sorting indicator in the first column header cell = sftTree1.Headers(0, 0) cell.SortIndicatorPosition = SortIndicatorPositionEnum.Side cell.SortStatus = SortStatusEnum.Ascending sftTree1.Columns.MakeOptimal(0, False) sftTree1.RecalcHorizontalExtent() sftTree1.Initializing = False End Sub
See Also CellBaseClass Class | Classes | SftTree/NET 2.0