CheckBoxBrick.GlyphStyle Property
Gets or sets the checkbox glyph style.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
GlyphStyle | StandardBox1 | The checkbox glyph style |
Available values:
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:
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