menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class WindowChrome - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class WindowChrome

    Inheritance
    System.Object
    WindowChrome
    Namespace: Syncfusion.Windows
    Assembly: Syncfusion.Shared.WPF.dll
    Syntax
    public class WindowChrome : Freezable

    Constructors

    WindowChrome()

    Declaration
    public WindowChrome()

    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

    UseAeroCaptionButtonsProperty

    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
    Type
    System.Double

    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
    Type
    NonClientFrameEdges

    ResizeBorderThickness

    Declaration
    public Thickness ResizeBorderThickness { get; set; }
    Property Value
    Type
    System.Windows.Thickness

    UseAeroCaptionButtons

    Declaration
    public bool UseAeroCaptionButtons { get; set; }
    Property Value
    Type
    System.Boolean

    Methods

    CreateInstanceCore()

    Declaration
    protected override Freezable CreateInstanceCore()
    Returns
    Type
    System.Windows.Freezable

    GetIsHitTestVisibleInChrome(IInputElement)

    Declaration
    public static bool GetIsHitTestVisibleInChrome(IInputElement inputElement)
    Parameters
    Type Name Description
    System.Windows.IInputElement inputElement
    Returns
    Type
    System.Boolean

    GetResizeGripDirection(IInputElement)

    Declaration
    public static ResizeGripDirection GetResizeGripDirection(IInputElement inputElement)
    Parameters
    Type Name Description
    System.Windows.IInputElement inputElement
    Returns
    Type
    ResizeGripDirection

    GetWindowChrome(Window)

    Declaration
    public static WindowChrome GetWindowChrome(Window window)
    Parameters
    Type Name Description
    System.Windows.Window window
    Returns
    Type
    WindowChrome

    OnMarginChanged(WindowChrome, MarginChangedEventArgs)

    Declaration
    public void OnMarginChanged(WindowChrome wChrome, MarginChangedEventArgs args)
    Parameters
    Type Name Description
    WindowChrome wChrome
    MarginChangedEventArgs args

    SetIsHitTestVisibleInChrome(IInputElement, Boolean)

    Declaration
    public static void SetIsHitTestVisibleInChrome(IInputElement inputElement, bool hitTestVisible)
    Parameters
    Type Name Description
    System.Windows.IInputElement inputElement
    System.Boolean hitTestVisible

    SetResizeGripDirection(IInputElement, ResizeGripDirection)

    Declaration
    public static void SetResizeGripDirection(IInputElement inputElement, ResizeGripDirection direction)
    Parameters
    Type Name Description
    System.Windows.IInputElement inputElement
    ResizeGripDirection direction

    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
    Type
    MarginChangedHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved