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.LayerWidth Property

Gets or sets the width/height of layers (columns/rows) into which items are arranged.

Namespace: DevExpress.Xpf.LayoutControl

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

NuGet Package: DevExpress.Wpf.LayoutControl

#Declaration

public double LayerWidth { get; set; }

#Property Value

Type Description
Double

A Double value that specifies the width or height of layers.

#Remarks

If items are arranged in columns, the LayerWidth property specifies the width of each column. If items are arranged in rows, the LayerWidth property specifies the height of each row.

Setting the LayerWidth property in XAML has no effect, because when XAML is parsed, items are not yet created.

When the value of the LayerWidth property is changed, the FlowLayoutControl.ItemsSizeChanged event fires.

An end-user can resize layers (columns/rows) or items via built-in separators. See the FlowLayoutControl.ShowLayerSeparators topic.

See Also