Back to Devexpress

BackstageViewControl.CaptionVerticalAlignment Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-backstageviewcontrol-385e2b33.md

latest3.2 KB
Original Source

BackstageViewControl.CaptionVerticalAlignment Property

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

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
DevExpress.Utils.Drawing.ItemVerticalAlignmentDefault

An DevExpress.Utils.Drawing.ItemVerticalAlignment value that specifies the vertical alignment of items’ caption regions.

|

Remarks

The CaptionVerticalAlignment property specifies the vertical alignment of items’ caption regions. You can also specify the alignment of individual caption regions, via the BackstageViewItem.CaptionVerticalAlignment property.

To align text within the caption region, use the TextOptions.VAlignment setting, 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