Back to Devexpress

BackstageViewControl.CaptionHorizontalAlignment Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-backstageviewcontrol-477ba339.md

latest3.2 KB
Original Source

BackstageViewControl.CaptionHorizontalAlignment Property

Gets or sets the horizontal alignment of items’ caption regions.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(ItemHorizontalAlignment.Default)]
[DXCategory("Appearance")]
public ItemHorizontalAlignment CaptionHorizontalAlignment { get; set; }
vb
<DefaultValue(ItemHorizontalAlignment.Default)>
<DXCategory("Appearance")>
Public Property CaptionHorizontalAlignment As ItemHorizontalAlignment

Property Value

TypeDefaultDescription
DevExpress.Utils.Drawing.ItemHorizontalAlignmentDefault

An DevExpress.Utils.Drawing.ItemHorizontalAlignment value that specifies the horizontal alignment of items’ caption regions.

|

Remarks

The CaptionHorizontalAlignment property specifies the horizontal alignment of items’ caption regions. You can also specify the alignment of individual caption regions via the BackstageViewItem.CaptionHorizontalAlignment property.

To align text within the caption region, use the TextOptions.HAlignment setting that is available via the BackstageViewItemBase.Appearance, BackstageViewItemBase.AppearanceDisabled, BackstageViewItemBase.AppearanceHover and BackstageViewTabItem.AppearanceSelected properties.

See Also

BackstageViewControl.CaptionHorizontalAlignment

BackstageViewControl.CaptionVerticalAlignment

GlyphHorizontalAlignment

BackstageViewControl.GlyphLocation

GlyphToCaptionIndent

GlyphVerticalAlignment

Caption

BackstageViewItem.CaptionHorizontalAlignment

BackstageViewControl Class

BackstageViewControl Members

DevExpress.XtraBars.Ribbon Namespace