CommandBar.SecondaryCommands CommandBar.SecondaryCommands CommandBar.SecondaryCommands CommandBar.SecondaryCommands Property

Definition

Gets the collection of secondary command elements for the CommandBar.

public : IObservableVector<ICommandBarElement> SecondaryCommands { get; }
IObservableVector<ICommandBarElement> SecondaryCommands();
public IObservableVector<ICommandBarElement> SecondaryCommands { get; }
Public ReadOnly Property SecondaryCommands As IObservableVector<ICommandBarElement>
<CommandBar>
    <CommandBar.SecondaryCommands>
       commandBarElements
    </CommandBar.SecondaryCommands>
</CommandBar>

Property Value

The collection of secondary command elements for the CommandBar. 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.

See also