Skip to main content

FlowLayoutControl.AllowAddFlowBreaksDuringItemMoving Property

Gets or sets if adding flow breaks during item movement 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 AllowAddFlowBreaksDuringItemMoving { get; set; }

Property Value

Type Description
Boolean

true if adding flow breaks during item movement is enabled; otherwise, false.

Remarks

Items hosted within a FlowLayoutControl can be arranged in single or multiple layers (flows). Use the FlowLayoutControl.IsFlowBreak attached property to specify that a specific item must forcibly start a new layer (column or row, according to the FlowLayoutControl.Orientation property).

Flow Layout Control items can be moved at runtime by an end-user if the control’s FlowLayoutControl.AllowItemMoving property is set to true. While being moved, an item’s behavior depends on the AllowAddFlowBreaksDuringItemMoving property. If the AllowAddFlowBreaksDuringItemMoving is set to true, a moved item can be placed either within an existing layer, or start a new one. If the AllowAddFlowBreaksDuringItemMoving property is set to false, only moving to existing layers is allowed.

See Also