Back to Devexpress

BackstageViewItem.CaptionVerticalAlignment Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-backstageviewitem-4d12da5e.md

latest3.4 KB
Original Source

BackstageViewItem.CaptionVerticalAlignment Property

Gets or sets the vertical alignment of the item’s caption region.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
DevExpress.Utils.Drawing.ItemVerticalAlignmentDefault

An DevExpress.Utils.Drawing.ItemVerticalAlignment value that specifies the caption vertical alignment.

|

Remarks

By default, the vertical alignment of caption regions within all items is specified by the BackstageViewControl.CaptionVerticalAlignment property. The CaptionVerticalAlignment property allows you to override this setting for individual items.

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

BackstageViewItem.CaptionVerticalAlignment

BackstageViewItem.GlyphLocation

BackstageViewItem Class

BackstageViewItem Members

DevExpress.XtraBars.Ribbon Namespace