ClassWindowHost
Represents a host control for windows in the Telerik framework.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public static class WindowHost
Inheritance: objectWindowHost
Fields
HitTestableProperty
Identifies the HitTestable attached property.
Declaration
public static readonly DependencyProperty HitTestableProperty
Field Value
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
target
UIElement
The UI element relative to which the mouse position is being calculated.
e
MouseEventArgs
The mouse event arguments containing the current mouse position.
Returns
Point
A 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
element
DependencyObject
The DependencyObject to be tested for hit testing.
Returns
A hit testable element if found; otherwise, null.
SetHitTestable(DependencyObject, bool)
Sets the hit testable state of the specified DependencyObject in the WindowHost.
Declaration
public static void SetHitTestable(DependencyObject element, bool hitTestVisible)
Parameters
element
DependencyObject
The DependencyObject that will be set as hit testable.
hitTestVisible
A boolean value indicating whether the target should be hit testable.