Back to Devexpress

CheckEdit.CheckBoxHeight Property

wpf-devexpress-dot-xpf-dot-editors-dot-checkedit-52d449f8.md

latest3.2 KB
Original Source

CheckEdit.CheckBoxHeight Property

Gets or sets the CheckBox height. This is a dependency property.

Namespace : DevExpress.Xpf.Editors

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public double CheckBoxHeight { get; set; }
vb
Public Property CheckBoxHeight As Double

Property Value

TypeDescription
Double

The CheckBox height.

|

Remarks

The following code sample specifies the CheckBoxHeight , CheckBoxWidth, EditorAppearanceProperties.CheckEditGlyphBrush, EditorAppearanceProperties.FocusedBorderBrush, EditorAppearanceProperties.CheckedStateBackground, and EditorAppearanceProperties.CheckedStateBorderBrush properties.

xaml
<Window ...
    xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
    <StackPanel>
        <dxe:CheckEdit Margin="5" Padding="10,0,0,0"
                       BorderThickness="2" BorderBrush="#FF757575"
                       Content="Custom Appearance" CornerRadius="2"
                       CheckBoxHeight="18" CheckBoxWidth="18"
                       dxe:EditorAppearanceProperties.CheckEditGlyphBrush="White"
                       dxe:EditorAppearanceProperties.FocusedBorderBrush="#FF6200EE"
                       dxe:EditorAppearanceProperties.CheckedStateBackground="#FF6200EE"
                       dxe:EditorAppearanceProperties.CheckedStateBorderBrush="#FF6200EE" />
    </StackPanel>
</Window>

Note

The property is supported in the following DevExpress themes:

Theme FamilyThemes
Windows 11Dark, Light
Windows 10Dark, Light
Office 2019Black, Colorful, Dark Gray, White, HighContrast
Visual Studio 2019Blue, Dark, Light
Office 2016 SEBlack, Colorful, Dark Gray, White
Visual Studio 2017Blue, Dark, Light

See Also

CheckEdit Class

CheckEdit Members

DevExpress.Xpf.Editors Namespace