ToolBarOverflowPanel Class

Definition

Used to arrange overflow ToolBar items.

public class ToolBarOverflowPanel : System.Windows.Controls.Panel
Inheritance

Inherited Members

System.Object

System.Windows.Controls.Panel

System.Windows.DependencyObject

System.Windows.FrameworkElement

System.Windows.Media.Visual

System.Windows.Threading.DispatcherObject

System.Windows.UIElement

Remarks

A ToolBar might not have enough space to show all of its items. When this happens, the items in a ToolBar can be placed in the ToolBarOverflowPanel, which is specified in the ControlTemplate of a ToolBar. For an example of how to use a ToolBarOverflowPanel in the ControlTemplate of a ToolBar, see ToolBar Styles and Templates.

Constructors

ToolBarOverflowPanel()

Initializes a new instance of the ToolBarOverflowPanel class.

Fields

WrapWidthProperty

Identifies the WrapWidth dependency property.

Properties

WrapWidth

Gets or sets the recommended width for an overflow ToolBar before items flow to the next line.

Methods

ArrangeOverride(Size)

Arranges and sizes the content of a ToolBarOverflowPanel object.

CreateUIElementCollection(FrameworkElement)

Creates a new UIElementCollection.

MeasureOverride(Size)

Remeasures the ToolBarOverflowPanel.