Class KeyboardFocusBehaviour
Behaviour for assigning keyboard (not logical) focus to element when it is loaded (focus similar to the WinForms focus)
Inherited Members
Namespace: Sdl.Desktop.Platform.Controls.Behaviours
Assembly: Sdl.Desktop.Platform.Controls.dll
Syntax
public static class KeyboardFocusBehaviour
Fields
OnProperty
Target element
Declaration
public static readonly DependencyProperty OnProperty
Field Value
Type | Description |
---|---|
Dependency |
Methods
GetOn(UIElement)
Gets target element
Declaration
public static FrameworkElement GetOn(UIElement element)
Parameters
Type | Name | Description |
---|---|---|
UIElement | element |
Returns
Type | Description |
---|---|
Framework |
SetOn(UIElement, FrameworkElement)
Sets target element
Declaration
public static void SetOn(UIElement element, FrameworkElement value)
Parameters
Type | Name | Description |
---|---|---|
UIElement | element | |
Framework |
value |