Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CommandBar.SecondaryCommands Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the collection of secondary command elements for the CommandBar.

public:
 property IObservableVector<ICommandBarElement ^> ^ SecondaryCommands { IObservableVector<ICommandBarElement ^> ^ get(); };
IObservableVector<ICommandBarElement> SecondaryCommands();
public IObservableVector<ICommandBarElement> SecondaryCommands { get; }
var iObservableVector = commandBar.secondaryCommands;
Public ReadOnly Property SecondaryCommands As IObservableVector(Of 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.

Applies to

See also


Feedback

Was this page helpful?