AppBar
Like ToolTip
, the AppBar
control adds nothing to its inner content other than enforcing a minimum height and adding some horizontal padding. It does contain automatic behavior for showing and hiding itself, however (unlike ToolTip
which relies on ToolTipService
for this). An AppBar
is invisible by default but automatically animates in and out when an edge gesture is performed (an appropriate swipe, right mouse button click, pressing Windows+Z, or pressing the context menu key).
You can place an AppBar
anywhere you’d place other elements, but it is intended to be attached to a Page
via Page
’s TopAppBar
or BottomAppBar
property. When you attach an AppBar
to one of these, it docks to the top or bottom edge, it overlays any content underneath ...
Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.