Skip to main content
All docs
V24.1

GridOptionsCustomization.AutoFocusCustomizationForm Property

Gets or sets whether to focus the Customization Form when it is invoked.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean AutoFocusCustomizationForm { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

true to focus the Customization Form when it is invoked; otherwise, false.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Property Paths

You can access this nested property as listed below:

Object Type Path to AutoFocusCustomizationForm
GridView
.OptionsCustomization .AutoFocusCustomizationForm

Remarks

When the AutoFocusCustomizationForm property is set to Default, the Data Grid focuses the Customization Form only if this form contains any columns.

See Also