Skip to main content

LayoutGroup.MoveFocusDirection Property

Gets or sets whether, in Automatic Tab Order mode when TAB is pressed, the focus moves across grouped controls and then down, or first down and then across.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(MoveFocusDirectionGroup.UseFocusOptions)]
[DXCategory("Behavior")]
public MoveFocusDirectionGroup MoveFocusDirection { get; set; }

Property Value

Type Default Description
DevExpress.XtraLayout.MoveFocusDirectionGroup UseFocusOptions

A DevExpress.XtraLayout.MoveFocusDirectionGroup enumeration value that specifies whether the focus moves across grouped controls and then down, or first down and then across. Default uses the OptionsFocus.MoveFocusDirection setting.

Remarks

If the LayoutControl‘s OptionsFocus.EnableAutoTabOrder property is set to true, pressing the TAB key moves focus between controls according to the settings specified by the OptionsFocus.MoveFocusDirection and OptionsFocus.MoveFocusRightToLeft properties. The MoveFocusDirection and LayoutGroup.MoveFocusRightToLeft properties allow you to override these settings for the current group.

See the Focus Management topic for more information.

See Also