Class WindowHost
Represents a host control for windows in the Telerik framework.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public static class WindowHost : Object
Fields
HitTestableProperty
Identifies the HitTestable attached property.
Declaration
public static readonly DependencyProperty HitTestableProperty
Field Value
System.Windows.DependencyProperty
|
Methods
GetGlobalMousePosition(UIElement, MouseEventArgs)
Retrieves the global mouse position based on the specified UI element and mouse event arguments.
Declaration
public static Point GetGlobalMousePosition(this UIElement target, MouseEventArgs e)
Parameters
System.Windows.UIElement
target
The UI element relative to which the mouse position is being calculated. |
System.Windows.Input.MouseEventArgs
e
The mouse event arguments containing the current mouse position. |
Returns
System.Windows.Point
A System.Windows.Point representing the global position of the mouse in the application coordinate space. |
GetHitTestable(DependencyObject)
Retrieves the hit testable element from the specified DependencyObject.
Declaration
public static bool GetHitTestable(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
The DependencyObject to be tested for hit testing. |
Returns
System.Boolean
A hit testable element if found; otherwise, null. |
SetHitTestable(DependencyObject, Boolean)
Sets the hit testable state of the specified DependencyObject in the WindowHost.
Declaration
public static void SetHitTestable(DependencyObject element, bool hitTestVisible)
Parameters
System.Windows.DependencyObject
element
The DependencyObject that will be set as hit testable. |
System.Boolean
hitTestVisible
A boolean value indicating whether the target should be hit testable. |