CommandBarFlyout.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 CommandBarFlyout.
public:
property IObservableVector<ICommandBarElement ^> ^ SecondaryCommands { IObservableVector<ICommandBarElement ^> ^ get(); };
IObservableVector<ICommandBarElement> SecondaryCommands();
public IObservableVector<ICommandBarElement> SecondaryCommands { get; }
var iObservableVector = commandBarFlyout.secondaryCommands;
Public ReadOnly Property SecondaryCommands As IObservableVector(Of ICommandBarElement)
<CommandBarFlyout>
<CommandBarFlyout.SecondaryCommands>
commandBarElements
</CommandBarFlyout.SecondaryCommands>
</CommandBarFlyout>
Property Value
The collection of secondary command elements for the CommandBarFlyout. The default is an empty collection.
Remarks
The SecondaryCommands collection can directly contain only AppBarButton, AppBarToggleButton, or AppBarSeparator command elements. Other elements must be wrapped in an AppBarElementContainer.
The secondary commands are shown in the menu portion of the flyout when the CommandBarFlyout is expanded.