CheckBoxBrick.GlyphStyle Property
Gets or sets the checkbox glyph style.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
[DefaultValue(GlyphStyle.StandardBox1)]
public GlyphStyle GlyphStyle { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Glyph |
Standard |
The checkbox glyph style |
Available values:
Name | Description |
---|---|
Standard |
The Standard |
Standard |
The Standard |
Yes |
The Yes |
Yes |
The Yes |
Yes |
The Yes |
Radio |
The Radio |
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;
}