WindowHost
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
DependencyProperty
Identifies the HitTestable attached property.
public static readonly DependencyProperty HitTestableProperty
Methods
Retrieves the global mouse position based on the specified UI element and mouse event arguments.
public static Point GetGlobalMousePosition(this UIElement target, MouseEventArgs e)
The UI element relative to which the mouse position is being calculated.
eMouseEventArgsThe mouse event arguments containing the current mouse position.
Returns:Point
A Point representing the global position of the mouse in the application coordinate space.
Retrieves the hit testable element from the specified DependencyObject.
public static bool GetHitTestable(DependencyObject element)
The DependencyObject to be tested for hit testing.
Returns:A hit testable element if found; otherwise, null.
Sets the hit testable state of the specified DependencyObject in the WindowHost.
public static void SetHitTestable(DependencyObject element, bool hitTestVisible)
The DependencyObject that will be set as hit testable.
hitTestVisibleboolA boolean value indicating whether the target should be hit testable.