ModuleListPage.SortOrder Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.