Back to Devexpress

BackstageViewItemBase.Alignment Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-backstageviewitembase-9004d012.md

latest2.0 KB
Original Source

BackstageViewItemBase.Alignment Property

Gets or sets the vertical alignment of the item.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(BackstageViewItemAlignment.Top)]
public BackstageViewItemAlignment Alignment { get; set; }
vb
<DefaultValue(BackstageViewItemAlignment.Top)>
Public Property Alignment As BackstageViewItemAlignment

Property Value

TypeDefaultDescription
BackstageViewItemAlignmentTop

A value that specifies the vertical alignment of the item.

|

Available values:

NameDescription
Top

Align an item to the top of the Backstage View.

| | Bottom |

Align an item to the bottom of the Backstage View.

|

Remarks

Use the Alignment property to align an item to the top or bottom of the Backstage View.

csharp
optionsBackstageViewItem.Alignment = DevExpress.XtraBars.Ribbon.BackstageViewItemAlignment.Bottom;
vb
optionsBackstageViewItem.Alignment = DevExpress.XtraBars.Ribbon.BackstageViewItemAlignment.Bottom;

See Also

BackstageViewItemBase Class

BackstageViewItemBase Members

DevExpress.XtraBars.Ribbon Namespace