Class RadWindowInteropHelper
Assists interoperation between Windows Presentation Foundation (WPF) and Win32 code.
Inheritance
System.Object
RadWindowInteropHelper
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public static class RadWindowInteropHelper : Object
Fields
Identifies the AllowTransparency attached property.
Declaration
public static readonly DependencyProperty AllowTransparencyProperty
Field Value
System.Windows.DependencyProperty
|
Identifies the ClipMaskCornerRadius attached property.
Declaration
public static readonly DependencyProperty ClipMaskCornerRadiusProperty
Field Value
System.Windows.DependencyProperty
|
Identifies the Icon attached property.
Declaration
public static readonly DependencyProperty IconProperty
Field Value
System.Windows.DependencyProperty
|
Identifies the OpaqueWindowBackground attached property.
Declaration
public static readonly DependencyProperty OpaqueWindowBackgroundProperty
Field Value
System.Windows.DependencyProperty
|
Identifies the ShowInTaskbar attached property.
Declaration
public static readonly DependencyProperty ShowInTaskbarProperty
Field Value
System.Windows.DependencyProperty
|
Identifies the Title attached property.
Declaration
public static readonly DependencyProperty TitleProperty
Field Value
System.Windows.DependencyProperty
|
Methods
Gets the AllowTransparency property of the underlying Window.
Declaration
public static bool GetAllowTransparency(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The element on which to get the attached property.
|
Returns
System.Boolean
The property value.
|
Gets the ClipMaskCornerRadius property used to create a clipping mask on the underlying Window.
Declaration
public static CornerRadius GetClipMaskCornerRadius(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The element on which to get the attached property.
|
Returns
System.Windows.CornerRadius
The property value.
|
Gets the ImageSource used to display the Icon in the OS for the underlying Window.
Declaration
public static ImageSource GetIcon(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The element on which to get the attached property.
|
Returns
System.Windows.Media.ImageSource
The property value.
|
Gets the Brush used to render the Background of the underlying window if AllowTransparency is set to False.
Declaration
public static Brush GetOpaqueWindowBackground(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The element on which to get the attached property.
|
Returns
System.Windows.Media.Brush
The property value.
|
Gets the ShowInTaskbar property of the underlying Window.
Declaration
public static bool GetShowInTaskbar(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The element on which to get the attached property.
|
Returns
System.Boolean
The property value.
|
Gets the Title used to display in the OS for the underlying Window.
Declaration
public static string GetTitle(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The element on which to get the attached property.
|
Returns
System.String
The property value.
|
Sets the AllowTransparency property of the underlying Window.
Declaration
public static void SetAllowTransparency(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject
obj
The element on which to set the attached property.
|
System.Boolean
value
The property value.
|
Sets the ClipMaskCornerRadius property used to create a clipping mask on the underlying Window.
Declaration
public static void SetClipMaskCornerRadius(DependencyObject obj, CornerRadius value)
Parameters
System.Windows.DependencyObject
obj
The element on which to get the attached property.
|
System.Windows.CornerRadius
value
The property value.
|
Sets the ShowInTaskbar property of the underlying Window.
Declaration
public static void SetShowInTaskbar(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject
obj
The element on which to get the attached property.
|
System.Boolean
value
The property value.
|
Sets the Title used to display in the OS for the underlying Window.
Declaration
public static void SetTitle(DependencyObject obj, string value)
Parameters
System.Windows.DependencyObject
obj
The element on which to get the attached property.
|
System.String
value
The property value.
|