Search Results for

    Show / Hide Table of Contents

    Class FocusOnClickBehaviour

    Inheritance
    System.Object
    FocusOnClickBehaviour
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Sdl.Desktop.Platform.Controls.Behaviours
    Assembly: Sdl.Desktop.Platform.Controls.dll
    Syntax
    public class FocusOnClickBehaviour

    Constructors

    FocusOnClickBehaviour()

    Declaration
    public FocusOnClickBehaviour()

    Fields

    ElementToFocusProperty

    Declaration
    public static readonly DependencyProperty ElementToFocusProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Methods

    ElementToFocusPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Declaration
    public static void ElementToFocusPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyObject sender
    System.Windows.DependencyPropertyChangedEventArgs e

    GetElementToFocus(Button)

    Declaration
    public static Control GetElementToFocus(Button button)
    Parameters
    Type Name Description
    System.Windows.Controls.Button button
    Returns
    Type Description
    System.Windows.Controls.Control

    SetElementToFocus(Button, Control)

    Declaration
    public static void SetElementToFocus(Button button, Control value)
    Parameters
    Type Name Description
    System.Windows.Controls.Button button
    System.Windows.Controls.Control value

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Constructors
      • FocusOnClickBehaviour()
    • Fields
      • ElementToFocusProperty
    • Methods
      • ElementToFocusPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)
      • GetElementToFocus(Button)
      • SetElementToFocus(Button, Control)
    • Extension Methods
    Back to top Generated by DocFX