Muokkaa

Jaa


ToolBarOverflowPanel.WrapWidth Property

Definition

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

public:
 property double WrapWidth { double get(); void set(double value); };
public double WrapWidth { get; set; }
member this.WrapWidth : double with get, set
Public Property WrapWidth As Double

Property Value

A double value that represents the recommended width of the ToolBar.

Examples

The following example shows how to use the WrapWidth property with a ToolBarOverflowPanel.

<ToolBarOverflowPanel WrapWidth="50">

Remarks

If you set WrapWidth to 100, the width of the overflow ToolBar is 100, and all the items that can fit into an area of that size are in the main ToolBar. If there is only one item, and it requires a size of 120, the toolbar width expands automatically from 100 to 120.

Dependency Property Information

Identifier field WrapWidthProperty
Metadata properties set to true AffectsMeasure

Applies to

See also