Skip to main content
A newer version of this page is available. .

BackstageViewItem.CaptionVerticalAlignment Property

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

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DefaultValue(ItemVerticalAlignment.Default)]
public ItemVerticalAlignment CaptionVerticalAlignment { get; set; }

Property Value

Type Default Description
DevExpress.Utils.Drawing.ItemVerticalAlignment **Default**

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