Skip to main content

LayoutViewOptionsHeaderPanel.EnableCustomizeButton Property

Gets or sets whether the Customization Form can be enabled via the Customize button within the Header Panel and keyboard shortcut (F6).

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

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

Property Value

Type Default Description
Boolean true

true if an end-user can enable the Customization Form; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to EnableCustomizeButton
LayoutView
.OptionsHeaderPanel .EnableCustomizeButton

Remarks

The EnableCustomizeButton property allows you to disable the Customize button within the Header Panel and the shortcut (F6) used to activate the Customization Form.

Use the LayoutViewOptionsHeaderPanel.ShowCustomizeButton to hide the corresponding button within the Header Panel. If the button is hidden and the EnableCustomizeButton property is set to true, the Customization Form can still be invoked using the corresponding shortcut.

If the LayoutViewOptionsBehavior.AllowRuntimeCustomization option is disabled, the Customize button is hidden, and the Customization Form cannot be invoked.

See Also