AppBar.Alignment Property
Gets or sets the AppBar alignment, relative to the parent FrameworkElement. This is a dependency property.
Namespace: DevExpress.Xpf.WindowsUI
Assembly: DevExpress.Xpf.Controls.v24.1.dll
NuGet Package: DevExpress.Wpf.Controls
Declaration
Property Value
Type | Description |
---|---|
DevExpress.Xpf.WindowsUI.AppBarAlignment | An DevExpress.Xpf.WindowsUI.AppBarAlignment enumeration value that specifies the AppBar alignment. The default value is Bottom. |
Remarks
In XAML, you can declare the AppBar control as a child of a FrameworkElement. Use the Alignment property to specify the side of the parent FrameworkElement at which the AppBar appears. The AppBarAlignment type provides the Bottom, Top, Left and Right options.
If you create a Modern UI Style application using a NavigationPage, you can display the AppBar at the top or bottom of this page with the help of the NavigationPage.TopAppBar and/or NavigationPage.BottomAppBar properties. Do not use the Alignment property for alignment purposes in this case.
To specify alignment of an AppBarButton or AppBarSeparator relative to an AppBar, use the AppBarButton.Alignment and AppBarSeparator.Alignment properties.