SftTree/NET 2.0

SortIndicatorPositionDefault Property, HeadersClass Class

Softel vdm, Inc.

Defines the default sorting indicator position for column headers.

Syntax      HeadersClass Class (Softelvdm.SftTreeNET)

VB   

Public Property SortIndicatorPositionDefault As SortIndicatorPositionEnum

C#   

public SortIndicatorPositionEnum SortIndicatorPositionDefault { get; set; }

C++   

public: property SortIndicatorPositionEnum SortIndicatorPositionDefault {
        SortIndicatorPositionEnum get();
        void set(SortIndicatorPositionEnum value);
}

Property Value

The sorting indicator position.

SortIndicatorPositionEnum

Value

Description

None

0

No sorting indicators are displayed.

Above

1

Sorting indicators are displayed above the contents.

Side

2

Sorting indicators are displayed next to the contents.

Default

-1

The default value is determined by a containing object or by the operating system used. For all operating systems up to and including Windows XP and Windows Server 2003, the default is SortIndicatorPositionEnum.Side. For Windows Vista and above, the default is SortIndicatorPositionEnum.Above.

The default value is SortIndicatorPositionEnum.None.

Comments

The SortIndicatorPositionDefault property defines the default sorting indicator position for column headers.

Any cell can have a sorting indicator, although this is commonly only used for cells located in column headers.

The actual display of the sorting indicator is defined using the CellBaseClass.SortStatus property. The SortIndicatorPositionDefault property defines the default sorting indicator position when the CellBaseClass.SortIndicatorPosition property for a column header is set to SortIndicatorPositionEnum.Default.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com