FocusFirstControl

Name Value
Assembly Catel.MVVM
Namespace Catel.Windows.Interactivity
Available on .NET Framework 4.5, .NET Framework 4.6
public class FocusFirstControl : BehaviorBase<FrameworkElement>

Base types BehaviorBase

Behavior to focus the first control in a window.

Fields

FocusParentsFirstProperty

Dependency property for the FocusParentsFirst property.

Properties

FocusParentsFirst

Gets or sets a value indicating whether the parent should be focused first. The default value istrue.

Methods


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion