Back to Devexpress

OptionsFocus.ActivateSelectedControlOnGotFocus Property

windowsforms-devexpress-dot-xtralayout-dot-optionsfocus-2ec0918a.md

latest1.9 KB
Original Source

OptionsFocus.ActivateSelectedControlOnGotFocus Property

Gets or sets whether the currently selected child control is activated when the LayoutControl receives focus.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true if the currently selected child control is activated when the LayoutControl receives focus; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ActivateSelectedControlOnGotFocus
LayoutControl

.OptionsFocus .ActivateSelectedControlOnGotFocus

|

Remarks

If the ActivateSelectedControlOnGotFocus property is set to false , the first child control is activated when the LayoutControl receives focus.

See Also

OptionsFocus Class

OptionsFocus Members

DevExpress.XtraLayout Namespace