Skip to main content

Class MultiColumnListViewExtensions

Namespace: Aspid.FastTools.UIElements
Assembly: Aspid.FastTools.dll

Provides extension methods for MultiColumnListView.

public static class MultiColumnListViewExtensions

Inheritance​

object ← MultiColumnListViewExtensions

Methods​

AddColumnSortingChanged<T>(T, Action)​

Subscribes to the columnSortingChanged event.

public static T AddColumnSortingChanged<T>(this T element, Action callback) where T : MultiColumnListView

Parameters​

element T

The element to modify.

callback Action

The callback to subscribe.

Returns​

T

The element, for chaining.

Type Parameters​

T

The element type.

RemoveColumnSortingChanged<T>(T, Action)​

Unsubscribes from the columnSortingChanged event.

public static T RemoveColumnSortingChanged<T>(this T element, Action callback) where T : MultiColumnListView

Parameters​

element T

The element to modify.

callback Action

The callback to remove.

Returns​

T

The element, for chaining.

Type Parameters​

T

The element type.

SetSortingMode<T>(T, ColumnSortingMode)​

Sets sortingMode.

public static T SetSortingMode<T>(this T element, ColumnSortingMode value) where T : MultiColumnListView

Parameters​

element T

The element to modify.

value ColumnSortingMode

The sorting mode to set.

Returns​

T

The element, for chaining.

Type Parameters​

T

The element type.