New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public static class RadWindowInteropHelper

Inheritance: objectRadWindowInteropHelper

Fields

AllowTransparencyProperty

DependencyProperty

Identifies the AllowTransparency attached property.

C#
public static readonly DependencyProperty AllowTransparencyProperty

Identifies the ClipMaskCornerRadius attached property.

C#
public static readonly DependencyProperty ClipMaskCornerRadiusProperty

IconProperty

DependencyProperty

Identifies the Icon attached property.

C#
public static readonly DependencyProperty IconProperty

Identifies the OpaqueWindowBackground attached property.

C#
public static readonly DependencyProperty OpaqueWindowBackgroundProperty

ShowInTaskbarProperty

DependencyProperty

Identifies the ShowInTaskbar attached property.

C#
public static readonly DependencyProperty ShowInTaskbarProperty

TitleProperty

DependencyProperty

Identifies the Title attached property.

C#
public static readonly DependencyProperty TitleProperty

Methods

Gets the AllowTransparency property of the underlying Window.

C#
public static bool GetAllowTransparency(DependencyObject obj)
Parameters:objDependencyObject

The element on which to get the attached property.

Returns:

bool

The property value.

Gets the ClipMaskCornerRadius property used to create a clipping mask on the underlying Window.

C#
public static CornerRadius GetClipMaskCornerRadius(DependencyObject obj)
Parameters:objDependencyObject

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.

C#
public static ImageSource GetIcon(DependencyObject obj)
Parameters:objDependencyObject

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.

C#
public static Brush GetOpaqueWindowBackground(DependencyObject obj)
Parameters:objDependencyObject

The element on which to get the attached property.

Returns:

Brush

The property value.

Gets the ShowInTaskbar property of the underlying Window.

C#
public static bool GetShowInTaskbar(DependencyObject obj)
Parameters:objDependencyObject

The element on which to get the attached property.

Returns:

bool

The property value.

Gets the Title used to display in the OS for the underlying Window.

C#
public static string GetTitle(DependencyObject obj)
Parameters:objDependencyObject

The element on which to get the attached property.

Returns:

string

The property value.

Sets the AllowTransparency property of the underlying Window.

C#
public static void SetAllowTransparency(DependencyObject obj, bool value)
Parameters:objDependencyObject

The element on which to set the attached property.

valuebool

The property value.

Sets the ClipMaskCornerRadius property used to create a clipping mask on the underlying Window.

C#
public static void SetClipMaskCornerRadius(DependencyObject obj, CornerRadius value)
Parameters:objDependencyObject

The element on which to get the attached property.

valueCornerRadius

The property value.

Sets the ImageSource used to display the Icon in the OS for the underlying Window.

C#
public static void SetIcon(DependencyObject obj, ImageSource value)
Parameters:objDependencyObject

The element on which to get the attached property.

valueImageSource

The property value.

Sets the Brush used to render the Background of the underlying window if AllowTransparency is set to False.

C#
public static void SetOpaqueWindowBackground(DependencyObject obj, Brush value)
Parameters:objDependencyObject

The element on which to get the attached property.

valueBrush

The property value.

Sets the ShowInTaskbar property of the underlying Window.

C#
public static void SetShowInTaskbar(DependencyObject obj, bool value)
Parameters:objDependencyObject

The element on which to get the attached property.

valuebool

The property value.

Sets the Title used to display in the OS for the underlying Window.

C#
public static void SetTitle(DependencyObject obj, string value)
Parameters:objDependencyObject

The element on which to get the attached property.

valuestring

The property value.