-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.Page.BottomAppBar |
winrt property |
Gets a reference to an AppBar displayed at the bottom of the page, if any.
<Page ...>
<Page.BottomAppBar>
<AppBar .../>
</Page.BottomAppBar>
</Page>
A reference to an AppBar displayed at the bottom of the page, or null.
In XAML, make sure you specify the Page.BottomAppBar
property element in the same area as other property elements that may already be defined, like Page.TopAppBar
or Page.Resources
. The XAML language enforces that you can't mix the property elements between the XAML content that is setting Content, such as the typical root Grid element. For more info on XAML syntax, see XAML syntax guide.
For example code that adds an AppBar to a page, see Quickstart: adding app bars or How to share an app bar across pages.