Back to Devexpress

GridCustomColumnSortEventArgs.Handled Property

aspnet-devexpress-dot-web-dot-gridcustomcolumnsorteventargs-ff73bd5c.md

latest3.2 KB
Original Source

GridCustomColumnSortEventArgs.Handled Property

Gets or sets whether a comparison operation is handled, and therefore, no default processing is required.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public bool Handled { get; set; }
vb
Public Property Handled As Boolean

Property Value

TypeDescription
Boolean

true if a comparison operation is handled; otherwise false.

|

Remarks

Find control-specific information (for ASPxGridView, ASPxCardView or ASPxVerticalGrid) in the sections below.

ASPxGridView

Set the Handled property to true to indicate that the current comparison operation is handled, and therefore, no default processing is required. If this property is left set to false, the default comparison mechanism will be invoked after the ASPxGridView.CustomColumnSort event handler is raised. This will then override the result of your comparison operation specified by the GridCustomColumnSortEventArgs.Result property.

Grid View - Get Started

ASPxCardView

Set the Handled property to true to indicate that the current comparison operation is handled, and therefore, no default processing is required. If this property is left set to false, the default comparison mechanism will be invoked after the ASPxCardView.CustomColumnSort event handler is raised. This will then override the result of your comparison operation specified by the GridCustomColumnSortEventArgs.Result property.

Card View - Get Started

ASPxVerticalGrid

Set the Handled property to true to indicate that the current comparison operation is handled, and therefore, no default processing is required. If this property is left set to false, the default comparison mechanism will be invoked after the ASPxVerticalGrid.CustomRowSort event handler is raised. This will then override the result of your comparison operation specified by the GridCustomColumnSortEventArgs.Result property.

Vertical Grid - Get Started

See Also

GridCustomColumnSortEventArgs Class

GridCustomColumnSortEventArgs Members

DevExpress.Web Namespace