windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionscustomization-a7e90d76.md
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
[DefaultValue(CustomizationFormSortMode.Default)]
[XtraSerializableProperty]
public virtual CustomizationFormSortMode AdvancedCustomizationFormSortMode { get; set; }
<DefaultValue(CustomizationFormSortMode.Default)>
<XtraSerializableProperty>
Public Overridable Property AdvancedCustomizationFormSortMode As CustomizationFormSortMode
| Type | Default | Description |
|---|---|---|
| DevExpress.XtraGrid.Views.Grid.CustomizationFormSortMode | Default |
A value that specifies whether and how column/band headers are sorted in the advanced Customization Form.
|
You can access this nested property as listed below:
| Object Type | Path to AdvancedCustomizationFormSortMode |
|---|---|
| GridView |
.OptionsCustomization .AdvancedCustomizationFormSortMode
|
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.
gridView1.OptionsCustomization.AdvancedCustomizationFormSortMode = CustomizationFormSortMode.AlphabeticalAscending;
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
GridOptionsCustomization Class