Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 846 Bytes

appbarelementcontainer.md

File metadata and controls

29 lines (18 loc) · 846 Bytes
-api-id -api-type
T:Microsoft.UI.Xaml.Controls.AppBarElementContainer
winrt class

Microsoft.UI.Xaml.Controls.AppBarElementContainer

-description

Represents a container that allows an element that doesn't implement ICommandBarElement to be displayed in a command bar.

-xaml-syntax

<AppBarButton .../>

-remarks

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.

-see-also

-examples