Class
RadWindowInteropHelper

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:

cs-api-definition
public static class RadWindowInteropHelper

Inheritance: objectRadWindowInteropHelper

Fields

AllowTransparencyProperty

Identifies the AllowTransparency attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty AllowTransparencyProperty

Field Value

DependencyProperty

ClipMaskCornerRadiusProperty

Identifies the ClipMaskCornerRadius attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ClipMaskCornerRadiusProperty

Field Value

DependencyProperty

IconProperty

Identifies the Icon attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty IconProperty

Field Value

DependencyProperty

OpaqueWindowBackgroundProperty

Identifies the OpaqueWindowBackground attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty OpaqueWindowBackgroundProperty

Field Value

DependencyProperty

ShowInTaskbarProperty

Identifies the ShowInTaskbar attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShowInTaskbarProperty

Field Value

DependencyProperty

TitleProperty

Identifies the Title attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty TitleProperty

Field Value

DependencyProperty

Methods

GetAllowTransparency(DependencyObject)

Gets the AllowTransparency property of the underlying Window.

Declaration

cs-api-definition
public static bool GetAllowTransparency(DependencyObject obj)

Parameters

obj

DependencyObject

The element on which to get the attached property.

Returns

bool

The property value.

GetClipMaskCornerRadius(DependencyObject)

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

Declaration

cs-api-definition
public static CornerRadius GetClipMaskCornerRadius(DependencyObject obj)

Parameters

obj

DependencyObject

The element on which to get the attached property.

Returns

CornerRadius

The property value.

GetIcon(DependencyObject)

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

Declaration

cs-api-definition
public static ImageSource GetIcon(DependencyObject obj)

Parameters

obj

DependencyObject

The element on which to get the attached property.

Returns

ImageSource

The property value.

GetOpaqueWindowBackground(DependencyObject)

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

Declaration

cs-api-definition
public static Brush GetOpaqueWindowBackground(DependencyObject obj)

Parameters

obj

DependencyObject

The element on which to get the attached property.

Returns

Brush

The property value.

GetShowInTaskbar(DependencyObject)

Gets the ShowInTaskbar property of the underlying Window.

Declaration

cs-api-definition
public static bool GetShowInTaskbar(DependencyObject obj)

Parameters

obj

DependencyObject

The element on which to get the attached property.

Returns

bool

The property value.

GetTitle(DependencyObject)

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

Declaration

cs-api-definition
public static string GetTitle(DependencyObject obj)

Parameters

obj

DependencyObject

The element on which to get the attached property.

Returns

string

The property value.

SetAllowTransparency(DependencyObject, bool)

Sets the AllowTransparency property of the underlying Window.

Declaration

cs-api-definition
public static void SetAllowTransparency(DependencyObject obj, bool value)

Parameters

obj

DependencyObject

The element on which to set the attached property.

value

bool

The property value.

SetClipMaskCornerRadius(DependencyObject, CornerRadius)

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

Declaration

cs-api-definition
public static void SetClipMaskCornerRadius(DependencyObject obj, CornerRadius value)

Parameters

obj

DependencyObject

The element on which to get the attached property.

value

CornerRadius

The property value.

SetIcon(DependencyObject, ImageSource)

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

Declaration

cs-api-definition
public static void SetIcon(DependencyObject obj, ImageSource value)

Parameters

obj

DependencyObject

The element on which to get the attached property.

value

ImageSource

The property value.

SetOpaqueWindowBackground(DependencyObject, Brush)

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

Declaration

cs-api-definition
public static void SetOpaqueWindowBackground(DependencyObject obj, Brush value)

Parameters

obj

DependencyObject

The element on which to get the attached property.

value

Brush

The property value.

SetShowInTaskbar(DependencyObject, bool)

Sets the ShowInTaskbar property of the underlying Window.

Declaration

cs-api-definition
public static void SetShowInTaskbar(DependencyObject obj, bool value)

Parameters

obj

DependencyObject

The element on which to get the attached property.

value

bool

The property value.

SetTitle(DependencyObject, string)

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

Declaration

cs-api-definition
public static void SetTitle(DependencyObject obj, string value)

Parameters

obj

DependencyObject

The element on which to get the attached property.

value

string

The property value.