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

BackstageViewControl.CaptionVerticalAlignment Property

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

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Default Description
DevExpress.Utils.Drawing.ItemVerticalAlignment Default

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