Back to Devexpress

FlowLayoutControl.BreakFlowToFit Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-flowlayoutcontrol.md

latest2.3 KB
Original Source

FlowLayoutControl.BreakFlowToFit Property

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

Declaration

csharp
public bool BreakFlowToFit { get; set; }
vb
Public Property BreakFlowToFit As Boolean

Property Value

TypeDescription
Boolean

A Boolean value that specifies whether automatic item wrapping is enabled.

|

Remarks

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

IsFlowBreak

Orientation

FlowLayoutControl Class

FlowLayoutControl Members

DevExpress.Xpf.LayoutControl Namespace