20. Page header
• Create a common page element
– Including header text
– Including primary buttons
– Including secondary buttons.
• Allows developers to create an easy uniform page UI.
21. Page header
• Key Features
– Primary buttons/commands
– Secondary buttons/commands (ellipsis menu)
– Back button, wired to navigate
– Easy look-and-feel style customization
23. Page header
• Navigation
– Add Frame reference
– Make Back button “visible”
– Ongoing visibility controlled by
Frame.CanGoBack, et al.
– Optional Bootstrapper.ShowShellBackButton = true;
– Developer can override back behavior
• Handle the Bootstrapper.BackRequested event
• Set args.Handled = true to stop back propagation
24. Page header
• Customization
– Text to define the text displayed
in the header (typically, the title
of the page)
– HeaderForeground to define the
text color of the header
– HeaderBackground to define
the background color of the
header
25. Page header
• PageHeader offers two categories of commands:
– PrimaryCommands are always visible.
– SecondaryCommands are hidden by default.