Back to Devexpress

GridOptionsCustomization.AutoFocusCustomizationForm Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionscustomization-f49fe936.md

latest2.7 KB
Original Source

GridOptionsCustomization.AutoFocusCustomizationForm Property

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

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean AutoFocusCustomizationForm { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property AutoFocusCustomizationForm As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn 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 TypePath 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

GridOptionsCustomization Class

GridOptionsCustomization Members

DevExpress.XtraGrid.Views.Grid Namespace