ToolBarTray::ToolBars Property
.NET Framework (current version)
Gets the collection of ToolBar elements in the ToolBarTray.
Assembly: PresentationFramework (in PresentationFramework.dll)
You can add ToolBar objects to a ToolBarTray by using XAML, but do not use object element syntax. That is, do not explicitly specify the Collection<T> object. XAML does not support declaring generic types.
<object> OneOrMoreToolBarElements </object>
- OneOrMoreToolBarElements
One or more ToolBar objects.
The following example shows how to use the ToolBars property to add a ToolBar to a ToolBarTray.
.NET Framework
Available since 3.0
Available since 3.0
Show: