Back to Devexpress

GridOptionsCustomization.AdvancedCustomizationFormSortMode Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionscustomization-a7e90d76.md

latest3.4 KB
Original Source

GridOptionsCustomization.AdvancedCustomizationFormSortMode Property

Gets or sets whether and how column/band headers are sorted within the advanced Customization Form.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(CustomizationFormSortMode.Default)]
[XtraSerializableProperty]
public virtual CustomizationFormSortMode AdvancedCustomizationFormSortMode { get; set; }
vb
<DefaultValue(CustomizationFormSortMode.Default)>
<XtraSerializableProperty>
Public Overridable Property AdvancedCustomizationFormSortMode As CustomizationFormSortMode

Property Value

TypeDefaultDescription
DevExpress.XtraGrid.Views.Grid.CustomizationFormSortModeDefault

A value that specifies whether and how column/band headers are sorted in the advanced Customization Form.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AdvancedCustomizationFormSortMode
GridView

.OptionsCustomization .AdvancedCustomizationFormSortMode

|

Remarks

The advanced Customization Form contains the button that allows users to sort column and band headers within this form.

The AdvancedCustomizationFormSortMode property allows you to sort column/band headers in code.

csharp
gridView1.OptionsCustomization.AdvancedCustomizationFormSortMode = CustomizationFormSortMode.AlphabeticalAscending;
vb
GridView1.OptionsCustomization.AdvancedCustomizationFormSortMode = CustomizationFormSortMode.AlphabeticalAscending

If the AdvancedCustomizationFormSortMode property is set to Default , the column/band headers are displayed in the default order, specified by their visible indices (see GridColumn.VisibleIndex and GridBand.VisibleIndex).

See Also

UseAdvancedCustomizationForm

GridOptionsCustomization Class

GridOptionsCustomization Members

DevExpress.XtraGrid.Views.Grid Namespace