Class KeyboardFocusBehaviour
Behaviour for assigning keyboard (not logical) focus to element when it is loaded (focus similar to the WinForms focus)
Inheritance
Object
KeyboardFocusBehaviour
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
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 |
|---|---|
| DependencyProperty |
Methods
GetOn(UIElement)
Gets target element
Declaration
public static FrameworkElement GetOn(UIElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| UIElement | element |
Returns
| Type | Description |
|---|---|
| FrameworkElement |
SetOn(UIElement, FrameworkElement)
Sets target element
Declaration
public static void SetOn(UIElement element, FrameworkElement value)
Parameters
| Type | Name | Description |
|---|---|---|
| UIElement | element | |
| FrameworkElement | value |