Back to Devexpress

OptionsColumn.ShowInCustomizationForm Property

windowsforms-devexpress-dot-xtragrid-dot-columns-dot-optionscolumn-e4348e00.md

latest3.6 KB
Original Source

OptionsColumn.ShowInCustomizationForm Property

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

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public bool ShowInCustomizationForm { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property ShowInCustomizationForm As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowInCustomizationForm
GridColumn

.OptionsColumn .ShowInCustomizationForm

|

Remarks

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.

XAF-how-to-add-an-unbound-column-to-gridlisteditor-to-execute-a-custom-action-for-a-record/CS/EFCore/ButtonInListEF/ButtonInListEF.Win/Controllers/SimpleBusinessActionGridListViewController.cs#L68

csharp
buttonColumn.OptionsColumn.FixedWidth = true;
buttonColumn.OptionsColumn.ShowInCustomizationForm = false;
buttonColumn.OptionsFilter.AllowFilter = false;

See Also

Visible

OptionsColumn Class

OptionsColumn Members

DevExpress.XtraGrid.Columns Namespace