Provides helper methods and attached properties for interoperability with RadWindow in WPF. This static class exposes several attached properties that control window appearance and behavior, such as corner radius for clipping masks, transparency settings, background color, title, icon, and taskbar visibility. Each attached property can be set or gotten through the provided static methods, allowing for streamlined customization of RadWindow instances in WPF applications.
Definition
Namespace:Telerik.Windows.Controls.Navigation
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public static class RadWindowInteropHelper
Inheritance: objectRadWindowInteropHelper
Fields
AllowTransparencyProperty
DependencyProperty
Identifies the AllowTransparency attached property.
public static readonly DependencyProperty AllowTransparencyProperty
ClipMaskCornerRadiusProperty
DependencyProperty
Identifies the ClipMaskCornerRadius attached property.
public static readonly DependencyProperty ClipMaskCornerRadiusProperty
IconProperty
DependencyProperty
Identifies the Icon attached property.
public static readonly DependencyProperty IconProperty
OpaqueWindowBackgroundProperty
DependencyProperty
Identifies the OpaqueWindowBackground attached property.
public static readonly DependencyProperty OpaqueWindowBackgroundProperty
ShowInTaskbarProperty
DependencyProperty
Identifies the ShowInTaskbar attached property.
public static readonly DependencyProperty ShowInTaskbarProperty
TitleProperty
DependencyProperty
Identifies the Title attached property.
public static readonly DependencyProperty TitleProperty
Methods
Gets the AllowTransparency property of the underlying Window.
public static bool GetAllowTransparency(DependencyObject obj)
The element on which to get the attached property.
Returns:The property value.
Gets the ClipMaskCornerRadius property used to create a clipping mask on the underlying Window.
public static CornerRadius GetClipMaskCornerRadius(DependencyObject obj)
The element on which to get the attached property.
Returns:CornerRadius
The property value.
Gets the ImageSource used to display the Icon in the OS for the underlying Window.
public static ImageSource GetIcon(DependencyObject obj)
The element on which to get the attached property.
Returns:ImageSource
The property value.
Gets the Brush used to render the Background of the underlying window if AllowTransparency is set to False.
public static Brush GetOpaqueWindowBackground(DependencyObject obj)
The element on which to get the attached property.
Returns:Brush
The property value.
Gets the ShowInTaskbar property of the underlying Window.
public static bool GetShowInTaskbar(DependencyObject obj)
The element on which to get the attached property.
Returns:The property value.
Gets the Title used to display in the OS for the underlying Window.
public static string GetTitle(DependencyObject obj)
The element on which to get the attached property.
Returns:The property value.
Sets the AllowTransparency property of the underlying Window.
public static void SetAllowTransparency(DependencyObject obj, bool value)
The element on which to set the attached property.
valueboolThe property value.
Sets the ClipMaskCornerRadius property used to create a clipping mask on the underlying Window.
public static void SetClipMaskCornerRadius(DependencyObject obj, CornerRadius value)
The element on which to get the attached property.
valueCornerRadiusThe property value.
Sets the ImageSource used to display the Icon in the OS for the underlying Window.
public static void SetIcon(DependencyObject obj, ImageSource value)
The element on which to get the attached property.
valueImageSourceThe property value.
Sets the Brush used to render the Background of the underlying window if AllowTransparency is set to False.
public static void SetOpaqueWindowBackground(DependencyObject obj, Brush value)
The element on which to get the attached property.
valueBrushThe property value.
Sets the ShowInTaskbar property of the underlying Window.
public static void SetShowInTaskbar(DependencyObject obj, bool value)
The element on which to get the attached property.
valueboolThe property value.
Sets the Title used to display in the OS for the underlying Window.
public static void SetTitle(DependencyObject obj, string value)
The element on which to get the attached property.
valuestringThe property value.