-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.CommandBar.SecondaryCommands |
winrt property |
Gets the collection of secondary command elements for the CommandBar.
<CommandBar>
<CommandBar.SecondaryCommands>
commandBarElements
</CommandBar.SecondaryCommands>
</CommandBar>
- commandBarElements
- commandBarElementsOne or more object elements for classes that implement ICommandBarElement. These are typically AppBarButton, AppBarToggleButton or AppBarSeparator elements.
The SecondaryCommands collection can contain only AppBarButton, AppBarToggleButton, or AppBarSeparator command elements. The secondary commands are shown in the overflow menu when the CommandBar is open.