Back to Devexpress

FlowLayoutControl.LayerWidth Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-flowlayoutcontrol-21e8b1bf.md

latest2.1 KB
Original Source

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

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

csharp
public double LayerWidth { get; set; }
vb
Public Property LayerWidth As Double

Property Value

TypeDescription
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

Orientation

AllowLayerSizing

ShowLayerSeparators

FlowLayoutControl Class

FlowLayoutControl Members

DevExpress.Xpf.LayoutControl Namespace