Skip to main content

RepositoryItemCheckEdit.CheckBoxOptions Property

Provides access to options specific to the check box glyph (style, color, size).

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Appearance")]
public CheckBoxOptions CheckBoxOptions { get; }

Property Value

Type Description
DevExpress.XtraEditors.CheckBoxOptions

A DevExpress.XtraEditors.CheckBoxOptions object that comprises options specific to the check box glyph (style, color, size).

Remarks

You can specify the following options:

  • Style — specifies what the check box looks like:

  • SvgColorUnchecked, SvgColorChecked, SvgColorGrayed — the colors used to paint vector glyphs in the corresponding states. By default, vector glyphs are colored according to the current skin and palette.

    Instead of regular colors (e.g., Red, Green), you can use adaptive colors — colors that change depending on the currently applied skin.

    CheckEdit_AdaptiveColors

  • SvgImageSize— the size of vector glyphs. The default glyph size is 18x18 pixels on a 100% DPI screen. Vector glyphs are automatically scaled according to the DPI setting without loss of quality.

    checkEdit14.Properties.CheckBoxOptions.SvgImageSize = new Size(32, 32);
    

    CheckEdit_Big

See Also