Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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