Skip to main content

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.1.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