Skip to main content
A newer version of this page is available. .

Wizard.DefaultFocus Property

Gets or sets whether the Wizard should focus the default button when opening a wizard page. This is a dependency property.

Namespace: DevExpress.Xpf.Controls

Assembly: DevExpress.Xpf.Controls.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Controls, DevExpress.Wpf.Navigation

Declaration

public WizardDefaultFocus DefaultFocus { get; set; }

Property Value

Type Description
WizardDefaultFocus

One of the WizardDefaultFocus enumeration values.

Available values:

Name Description
Empty

Wizard does not focus any element by default when opening wizard pages.

DefaultButton

Wizard focuses the default button on each opened wizard page.

Remarks

Set the DefaultFocus property to DefaultButton to make Wizard focus the default button on each opened wizard page.

See Also