BaseRepositoryItemCheckEdit.GlyphVAlignment Property
Gets or sets the vertical alignment of a check box glyph within a check editor.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[Browsable(false)]
public virtual VertAlignment GlyphVAlignment { get; set; }
#Property Value
Type | Description |
---|---|
Vert |
A Vert |
Available values:
Name | Description |
---|---|
Default | Places the text to its default position. The default position is in the center of an object. |
Top | Places the text to the top of an object. |
Center | Centers the text within an object. |
Bottom | Places the text to the bottom of an object. |
#Remarks
Use the GlyphVAlignment property to specify the vertical alignment of the glyph representing a check box within a check editor. This property does not affect the editor caption’s vertical alignment.
Assigning a new value for the GlyphVAlignment property at runtime generates the RepositoryItem.PropertiesChanged event.
The following images demonstrate the check box aligned to the center and to the bottom respectively.
You can also specify the horizontal alignment of the glyph using the BaseRepositoryItemCheckEdit.GlyphAlignment property.
Note
The Base