Back to Devexpress

LayoutViewOptionsHeaderPanel.ShowCustomizeButton Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutviewoptionsheaderpanel-dddadd6d.md

latest2.7 KB
Original Source

LayoutViewOptionsHeaderPanel.ShowCustomizeButton Property

Gets or sets whether the Customize button is displayed within the Header Panel.

Namespace : DevExpress.XtraGrid.Views.Layout

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true if the Customize button is displayed within the Header Panel; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowCustomizeButton
LayoutView

.OptionsHeaderPanel .ShowCustomizeButton

|

Remarks

Clicking the Customize button invokes the Customization Form. If the button is hidden, the Customization Form can still be invoked via a specific shortcut. To prevent an end-user from activating the Customization Form via the button and shortcut, use the LayoutViewOptionsHeaderPanel.EnableCustomizeButton property.

See Also

EnableCustomizeButton

AllowRuntimeCustomization

ShowCustomizationForm()

LayoutViewOptionsHeaderPanel Class

LayoutViewOptionsHeaderPanel Members

DevExpress.XtraGrid.Views.Layout Namespace