FlexSheet for WPF | ComponentOne
C1.Util Namespace / Util Class / ContainsFocus Method
Element to check.

In This Topic
    ContainsFocus Method
    In This Topic
    Gets a value that determines whether an element or any of its children contains the focus.
    Syntax
    'Declaration
     
    
    Public Shared Function ContainsFocus( _
       ByVal e As FrameworkElement _
    ) As Boolean
    public static bool ContainsFocus( 
       FrameworkElement e
    )

    Parameters

    e
    Element to check.

    Return Value

    True if the element or one of its children contains the focus.
    See Also