Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether WPF or Win32 keyboard focus is within the specified element.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function IsKeyboardFocusWithin ( _
element As UIElement _
) As Boolean
public static bool IsKeyboardFocusWithin(
UIElement element
)
public:
static bool IsKeyboardFocusWithin(
UIElement^ element
)
static member IsKeyboardFocusWithin :
element:UIElement -> bool
public static function IsKeyboardFocusWithin(
element : UIElement
) : boolean
Parameters
element
Type: UIElementThe element to check.
Return Value
Type: Boolean
Returns true if the focus is within the element; otherwise returns false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.