Share via


ModuleListPage.SortOrder Property

Definition

Gets the sort order for the selected column.

public:
 property System::Windows::Forms::SortOrder SortOrder { System::Windows::Forms::SortOrder get(); };
public System.Windows.Forms.SortOrder SortOrder { get; }
member this.SortOrder : System.Windows.Forms.SortOrder
Public ReadOnly Property SortOrder As SortOrder

Property Value

The SortOrder object for the selected column.

Examples

The following example sends the sort order to the trace listener, which displays "SortOrder Ascending".

void TraceSortOrder() {

    Trace.WriteLine("SortOrder "
       + SortOrder.ToString());
} 

Remarks

The sort order is initially set to ascending. Each time you click a column header, the sort order is switched.

Applies to