App Bar Button
Represents a button control to be displayed in the AppBar.
Remarks
AppBarButtons can only be added to a Page's PrimaryCommands & SecondaryCommands. At this time, they are only support on ContentPages.
AppBarButtons in the PrimaryCommands collection will appear in the actual AppBar. They will display either Text or Icon.
AppBarButtons in SecondaryCommands collection will appear in the AppBar menu with 3 dots. They will only display Text in the menu.
Properties
Property | Type | Description |
---|---|---|
Icon | Icon | The icon for the control. |
Text | String | A string that specifies the text contents of the button. |
Events
Event | Description |
---|---|
Clicked | Occurs when the button control is clicked. |