Click or drag to resize
KeyboardHelperIsKeyboardFocusWithin Method
Determines whether keyboard focus is within the current UI element.

Namespace: Telerik.Windows.Controls.Spreadsheet.Utilities
Assembly: Telerik.Windows.Controls.Spreadsheet (in Telerik.Windows.Controls.Spreadsheet.dll) Version: 2018.2.515.40 (2018.2.515.40)
public static bool IsKeyboardFocusWithin(
	this UIElement element


Type: System.WindowsUIElement
The element.

Return Value

Type: Boolean
True if the focus is within the current UI element.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UIElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also