wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-flowlayoutcontrol.md
Gets or sets whether automatic item wrapping is enabled. This is a dependency property.
Namespace : DevExpress.Xpf.LayoutControl
Assembly : DevExpress.Xpf.LayoutControl.v25.2.dll
NuGet Package : DevExpress.Wpf.LayoutControl
public bool BreakFlowToFit { get; set; }
Public Property BreakFlowToFit As Boolean
| Type | Description |
|---|---|
| Boolean |
A Boolean value that specifies whether automatic item wrapping is enabled.
|
The BreakFlowToFit property enables automatic item wrapping. In this mode, the flow of the items is automatically wrapped at the right or bottom edge of the control, starting a new row or column. The following image shows a FlowLayoutControl with the FlowLayoutControl.Orientation property set to Vertical and the BreakFlowToFit property set to true :
If the BreakFlowToFit property is set to false , the items are displayed in a single column or row, according to the FlowLayoutControl.Orientation property.
You can forcibly wrap the flow at a specific item via the FlowLayoutControl.IsFlowBreak attached property.
See Also