다음을 통해 공유


FocusHelper.IsKeyboardFocusWithin Method (UIElement)

Determines whether WPF or Win32 keyboard focus is within the specified element.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

‘선언
Public Shared Function IsKeyboardFocusWithin ( _
    element As UIElement _
) As Boolean
public static bool IsKeyboardFocusWithin(
    UIElement element
)

Parameters

Return Value

Type: System.Boolean
Returns true if the focus is within the element; otherwise returns false.

.NET Framework Security

See Also

Reference

FocusHelper Class

IsKeyboardFocusWithin Overload

Microsoft.VisualStudio.PlatformUI Namespace