Skip to main content
Tab

GridViewColumnMenuItemVisibility.ClearSorting Property

Gets or sets the visibility of the Clear Sorting item displayed within the column context menu.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool ClearSorting { get; set; }

Property Value

Type Default Description
Boolean true

true, if the item is visible; otherwise, false.

Remarks

Use the ClearSorting property to specify the visibility of the default context menu item Clear Sorting. You can set the item text and image using the ASPxGridViewTextSettings.ContextMenuClearSorting and GridViewImages.ContextMenuClearSorting properties respectively.

See Also