Skip to main content

CheckBoxBrick.GlyphStyle Property

Gets or sets the checkbox glyph style.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.2.Core.dll

Declaration

[DefaultValue(GlyphStyle.StandardBox1)]
public GlyphStyle GlyphStyle { get; set; }

Property Value

Type Default Description
GlyphStyle StandardBox1

The checkbox glyph style

Available values:

Show 11 items
Name Description
StandardBox1

The StandardBox1 checkbox glyph style

StandardBox2

The StandardBox2 checkbox glyph style

YesNoBox

The YesNoBox checkbox glyph style

YesNoSolidBox

The YesNoSolidBox checkbox glyph style

YesNo

The YesNo checkbox glyph style

RadioButton

The RadioButton checkbox glyph style

Smiley

The Smiley checkbox glyph style

Thumb

The Thumb checkbox glyph style

Toggle

The Toggle checkbox glyph style

Star

The Star checkbox glyph style

Heart

The Heart checkbox glyph style

Remarks

The following glyph styles are available:

xrCheckBox-Styles

Example

The code sample below illustrates how to create a CheckBoxBrick object and set its glyph style to Thumb style.

using DevExpress.XtraPrinting;
using DevExpress.XtraPrinting.Drawing;
// ...
public CheckBoxBrick SetGlyphStyle(CheckBoxBrick cBrick) {
    cBrick.GlyphSize = new SizeF(18, 18);
    cBrick.GlyphStyle = GlyphStyle.Thumb;
    return cBrick;
}
See Also