RepositoryItemRadioGroup.GlyphAlignment Property

Gets or sets the horizontal alignment of a radio box glyph within a radio group editor.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(HorzAlignment.Near)]
public HorzAlignment GlyphAlignment { get; set; }
<DXCategory("Behavior")>
<DefaultValue(HorzAlignment.Near)>
Public Property GlyphAlignment As HorzAlignment

Property Value

Type Default Description
HorzAlignment

Near

A HorzAlignment enumeration value specifying the radio box's horizontal alignment.

Remarks

Use the GlyphAlignment property to specify the horizontal alignment of the glyph which is representing a radio box within a radio group editor. This property also affects the alignment of the editor's caption text. Text for the editor's caption region can be specified via the RadioGroupItem.Description property. If the GlyphAlignment property is set to HorzAlignment.Center, caption text is hidden.

The following image demonstrates different alignment modes:

RadioGroup_GlyphAlignment

Assigning a new value for the GlyphAlignment property at runtime generates the RepositoryItem.PropertiesChanged event.

See Also