Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public bool BreakFlowToFit { get; set; }

Property Value

Type Description
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:

FlowLayoutControl_FlowBreak_Disabled

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