Class WindowChrome
Inheritance
System.Object
WindowChrome
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class WindowChrome : Freezable
Constructors
WindowChrome()
Declaration
Fields
CaptionHeightProperty
Declaration
public static readonly DependencyProperty CaptionHeightProperty
Field Value
Type |
System.Windows.DependencyProperty |
CornerRadiusProperty
Declaration
public static readonly DependencyProperty CornerRadiusProperty
Field Value
Type |
System.Windows.DependencyProperty |
GlassFrameThicknessProperty
Declaration
public static readonly DependencyProperty GlassFrameThicknessProperty
Field Value
Type |
System.Windows.DependencyProperty |
IsHitTestVisibleInChromeProperty
Declaration
public static readonly DependencyProperty IsHitTestVisibleInChromeProperty
Field Value
Type |
System.Windows.DependencyProperty |
NonClientFrameEdgesProperty
Declaration
public static readonly DependencyProperty NonClientFrameEdgesProperty
Field Value
Type |
System.Windows.DependencyProperty |
ResizeBorderThicknessProperty
Declaration
public static readonly DependencyProperty ResizeBorderThicknessProperty
Field Value
Type |
System.Windows.DependencyProperty |
ResizeGripDirectionProperty
Declaration
public static readonly DependencyProperty ResizeGripDirectionProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty UseAeroCaptionButtonsProperty
Field Value
Type |
System.Windows.DependencyProperty |
WindowChromeProperty
Declaration
public static readonly DependencyProperty WindowChromeProperty
Field Value
Type |
System.Windows.DependencyProperty |
Properties
CaptionHeight
The extent of the top of the window to treat as the caption.
Declaration
public double CaptionHeight { get; set; }
Property Value
CornerRadius
Declaration
public CornerRadius CornerRadius { get; set; }
Property Value
Type |
System.Windows.CornerRadius |
GlassFrameCompleteThickness
Declaration
public static Thickness GlassFrameCompleteThickness { get; }
Property Value
Type |
System.Windows.Thickness |
GlassFrameThickness
Declaration
public Thickness GlassFrameThickness { get; set; }
Property Value
Type |
System.Windows.Thickness |
NonClientFrameEdges
Declaration
public NonClientFrameEdges NonClientFrameEdges { get; set; }
Property Value
ResizeBorderThickness
Declaration
public Thickness ResizeBorderThickness { get; set; }
Property Value
Type |
System.Windows.Thickness |
Declaration
public bool UseAeroCaptionButtons { get; set; }
Property Value
Methods
CreateInstanceCore()
Declaration
protected override Freezable CreateInstanceCore()
Returns
Type |
System.Windows.Freezable |
Declaration
public static bool GetIsHitTestVisibleInChrome(IInputElement inputElement)
Parameters
Type |
Name |
Description |
System.Windows.IInputElement |
inputElement |
|
Returns
Declaration
public static ResizeGripDirection GetResizeGripDirection(IInputElement inputElement)
Parameters
Type |
Name |
Description |
System.Windows.IInputElement |
inputElement |
|
Returns
GetWindowChrome(Window)
Declaration
public static WindowChrome GetWindowChrome(Window window)
Parameters
Type |
Name |
Description |
System.Windows.Window |
window |
|
Returns
OnMarginChanged(WindowChrome, MarginChangedEventArgs)
Declaration
public void OnMarginChanged(WindowChrome wChrome, MarginChangedEventArgs args)
Parameters
Declaration
public static void SetIsHitTestVisibleInChrome(IInputElement inputElement, bool hitTestVisible)
Parameters
Type |
Name |
Description |
System.Windows.IInputElement |
inputElement |
|
System.Boolean |
hitTestVisible |
|
Declaration
public static void SetResizeGripDirection(IInputElement inputElement, ResizeGripDirection direction)
Parameters
SetWindowChrome(Window, WindowChrome)
Declaration
public static void SetWindowChrome(Window window, WindowChrome chrome)
Parameters
Type |
Name |
Description |
System.Windows.Window |
window |
|
WindowChrome |
chrome |
|
Events
MarginChanged
Declaration
public event MarginChangedHandler MarginChanged
Event Type