-api-id | -api-type | ms.custom |
---|---|---|
T:Windows.UI.Xaml.Controls.AppBarElementContainer |
winrt class |
RS5 |
Represents a container that allows an element that doesn't implement ICommandBarElement to be displayed in a command bar.
<AppBarButton .../>
In order to be added to the primary or secondary command collections of a command bar, an element must implement the ICommandBarElement interface. AppBarElementContainer is a wrapper that implements this interface so you can add an element to a command bar even if it doesn't implement the interface itself.