Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.29 KB

commandbar_secondarycommands.md

File metadata and controls

39 lines (28 loc) · 1.29 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.CommandBar.SecondaryCommands
winrt property

Windows.UI.Xaml.Controls.CommandBar.SecondaryCommands

-description

Gets the collection of secondary command elements for the CommandBar.

-xaml-syntax

<CommandBar>
    <CommandBar.SecondaryCommands>
       commandBarElements
    </CommandBar.SecondaryCommands>
</CommandBar>

-xaml-values

commandBarElements
commandBarElementsOne or more object elements for classes that implement ICommandBarElement. These are typically AppBarButton, AppBarToggleButton or AppBarSeparator elements.
## -property-value The collection of secondary command elements for the [CommandBar](commandbar.md). The default is an empty collection.

-remarks

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.

-examples

-see-also

PrimaryCommands