Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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