Back to Devexpress

CustomColumnSortEventHandler Delegate

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-d407fd70.md

latest2.0 KB
Original Source

CustomColumnSortEventHandler Delegate

Represents a method that will handle the ColumnView.CustomColumnSort and GridView.CustomColumnGroup events.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
public delegate void CustomColumnSortEventHandler(
    object sender,
    CustomColumnSortEventArgs e
);
vb
Public Delegate Sub CustomColumnSortEventHandler(
    sender As Object,
    e As CustomColumnSortEventArgs
)

Parameters

NameTypeDescription
senderObject

The event sender. Identifies the View that raised the event.

| | e | CustomColumnSortEventArgs |

A CustomColumnSortEventArgs object that contains event data.

|

Remarks

When you create a CustomColumnSortEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about delegates, see Events and Delegates in MSDN.

See Also

DevExpress.XtraGrid.Views.Base Namespace