Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.LayoutControl, DevExpress.Wpf.Layout

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