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.v19.2.dll
Declaration
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:
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BreakFlowToFit property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.