Skip to main content

NavElement.GlyphAlignment Property

Gets or sets the alignment of the NavElement.Glyph, which is displayed when the NavElement is rendered as a button in the TileNavPane‘s nav bar.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(NavButtonAlignment.Default)]
[DXCategory("Appearance")]
public virtual NavButtonAlignment GlyphAlignment { get; set; }

Property Value

Type Default Description
DevExpress.XtraBars.Navigation.NavButtonAlignment Default

The value specifying the glyph alignment.

Remarks

Use the GlyphAlignment property to specify the alignment of the NavElement.Glyph when the NavElement is rendered as a button in the TileNavPane‘s nav bar. The NavButtonAlignment enumeration provides the following values:

  • Default and Left – the glyph is left-aligned
  • Right – the glyph is right-aligned

To specify the alignment of images in tiles, use the TileItem.ImageAlignment property which can be accessed via the TileNavElement.Tile object.

See Also