Back to Devexpress

TreeListOptionsCustomization.AutoFocusCustomizationForm Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionscustomization-e29d0f2e.md

latest2.6 KB
Original Source

TreeListOptionsCustomization.AutoFocusCustomizationForm Property

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

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

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
TreeList

.OptionsCustomization .AutoFocusCustomizationForm

|

Remarks

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

See Also

TreeListOptionsCustomization Class

TreeListOptionsCustomization Members

DevExpress.XtraTreeList Namespace