windowsforms-devexpress-dot-xtragrid-dot-columns-dot-optionscolumn-e4348e00.md
Gets or sets whether the column’s header is displayed within the Customization Form when the column is hidden.
Namespace : DevExpress.XtraGrid.Columns
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(true)]
[XtraSerializableProperty]
public bool ShowInCustomizationForm { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property ShowInCustomizationForm As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if the column’s header is displayed within the Customization Form, Filter Editor, and Conditional Formatting Rules Manager when the column is hidden; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to ShowInCustomizationForm |
|---|---|
| GridColumn |
.OptionsColumn .ShowInCustomizationForm
|
If the Customization Form is open and you toggle a column’s ShowInCustomizationForm property, you need to manually call the GridView.UpdateColumnsCustomization method to update the form.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowInCustomizationForm property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
buttonColumn.OptionsColumn.FixedWidth = true;
buttonColumn.OptionsColumn.ShowInCustomizationForm = false;
buttonColumn.OptionsFilter.AllowFilter = false;
See Also