[]
        
(Showing Draft Content)

C1.Util.Util.ContainsFocus

ContainsFocus Method

ContainsFocus(FrameworkElement)

Gets a value that determines whether an element or any of its children contains the focus.

Declaration
public static bool ContainsFocus(FrameworkElement e)
Public Shared Function ContainsFocus(e As FrameworkElement) As Boolean
Parameters
Type Name Description
FrameworkElement e

Element to check.

Returns
Type Description
bool

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