ListViewSorterColumnSort Method |
call this from column click.
Namespace: ANDREICSLIB.HelpersAssembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void ColumnSort(
ListViewSorter lvs,
ListView lv,
int column,
Nullable<SortOrder> forceorder = null
)
Public Shared Sub ColumnSort (
lvs As ListViewSorter,
lv As ListView,
column As Integer,
Optional forceorder As Nullable(Of SortOrder) = Nothing
)
public:
static void ColumnSort(
ListViewSorter^ lvs,
ListView^ lv,
int column,
Nullable<SortOrder> forceorder = nullptr
)
static member ColumnSort :
lvs : ListViewSorter *
lv : ListView *
column : int *
?forceorder : Nullable<SortOrder>
(* Defaults:
let _forceorder = defaultArg forceorder null
*)
-> unit
Parameters
- lvs
- Type: ANDREICSLIB.HelpersListViewSorter
an instance of listviewsorter - lv
- Type: System.Windows.FormsListView
- column
- Type: SystemInt32
- forceorder (Optional)
- Type: SystemNullableSortOrder
if set to a value, will sort by that all the time, otherwise will sort as normal
See Also