Back to Devexpress

BaseLayoutItem.StartNewLine Property

windowsforms-devexpress-dot-xtralayout-dot-baselayoutitem-e46d96f0.md

latest2.3 KB
Original Source

BaseLayoutItem.StartNewLine Property

Gets or sets whether the current item starts a new row within a flow layout.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(true)]
[DefaultValue(false)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public virtual bool StartNewLine { get; set; }
vb
<Browsable(True)>
<DefaultValue(False)>
<XtraSerializableProperty>
<DXCategory("Behavior")>
Public Overridable Property StartNewLine As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if the layout item starts a new row within the flow layout; otherwise, false.

|

Remarks

In flow layout mode, layout items are automatically arranged in rows according to their order in the LayoutGroup.Items collection, and are automatically wrapped at the group’s right edge. If there is insufficient space in a row to arrange an item, this item is carried over to the next line. You can force an item to start a new row by setting the StartNewLine property to true.

See Also

LayoutMode

Flow Layout

BaseLayoutItem Class

BaseLayoutItem Members

DevExpress.XtraLayout Namespace