public Sort ( OLVColumn columnToSort, SortOrder order ) : void | ||
columnToSort | OLVColumn | The column whose values will be used for the sorting. /// If null, the first column will be used. |
order | SortOrder | The ordering to be used for sorting. If this is None, /// this.Sorting and then SortOrder.Ascending will be used |
Результат | void |
public virtual void Sort(OLVColumn columnToSort, SortOrder order)
{
if (this.InvokeRequired) {
this.Invoke((MethodInvoker)delegate { this.Sort(columnToSort, order); });
} else {
this.DoSort(columnToSort, order);
this.PostProcessRows();
}
}