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.IsFlowBreak Attached Property

Gets or sets whether the flow of the control’s items is wrapped at the preceding item and the current item must start a new column or row. When applied to a Tile within a TileLayoutControl, this property allows you to start a new group. This is an attached property.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v24.2.dll

NuGet Package: DevExpress.Wpf.LayoutControl

#Declaration

#Returns

Type Description
Boolean

A Boolean value that specifies whether an item must start a new layer.

#Remarks

Use the IsFlowBreak attached property to specify that a specific item must forcibly start a new layer (column or row, according to the FlowLayoutControl.Orientation property). In the following example, the IsFlowBreak property is enabled for Item 3 and Item 6:

<dxlc:FlowLayoutControl >
    <local:SampleLayoutItem Caption="Item 1"/>
    <local:SampleLayoutItem Caption="Item 2"/>
    <local:SampleLayoutItem Caption="Item 3" dxlc:FlowLayoutControl.IsFlowBreak="True"/>
    <local:SampleLayoutItem Caption="Item 4"/>
    <local:SampleLayoutItem Caption="Item 5"/>
    <local:SampleLayoutItem Caption="Item 6" dxlc:FlowLayoutControl.IsFlowBreak="True"/>
    <local:SampleLayoutItem Caption="Item 7"/>
    <local:SampleLayoutItem Caption="Item 8"/>
    <local:SampleLayoutItem Caption="Item 9"/>
</dxlc:FlowLayoutControl>

FlowLayoutControl_FlowBreak_Enabled

The FlowLayoutControl.AllowAddFlowBreaksDuringItemMoving property allows an end-user to start new layers at runtime when moving an item. To enable runtime items to move, use the FlowLayoutControl.AllowItemMoving property.

When applied to a Tile within a TileLayoutControl, this property allows you to start a new group.

See Also