Back to Devexpress

FlowLayoutControl.MaximizedElementPosition Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-flowlayoutcontrol-10c9cbdc.md

latest3.7 KB
Original Source

FlowLayoutControl.MaximizedElementPosition Property

Gets or sets the position of the FlowLayoutControl.MaximizedElement relative to the remaining items. This is a dependency property.

Namespace : DevExpress.Xpf.LayoutControl

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

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

csharp
public MaximizedElementPosition MaximizedElementPosition { get; set; }
vb
Public Property MaximizedElementPosition As MaximizedElementPosition

Property Value

TypeDescription
MaximizedElementPosition

A MaximizedElementPosition value that specifies the position of the FlowLayoutControl.MaximizedElement relative to the remaining items.

|

Available values:

NameDescription
Left

The FlowLayoutControl.MaximizedElement is displayed to the left of the layer, where other items of the FlowLayoutControl are arranged.

| | Top |

The FlowLayoutControl.MaximizedElement is displayed above the layer, where other items of the FlowLayoutControl are arranged.

| | Right |

The FlowLayoutControl.MaximizedElement is displayed to the right of the layer, where other items of the FlowLayoutControl are arranged.

| | Bottom |

The FlowLayoutControl.MaximizedElement is displayed below the layer, where other items of the FlowLayoutControl are arranged.

|

Remarks

When an item is assigned to the FlowLayoutControl.MaximizedElement property, it occupies the major part of the control, while other items are arranged in a single layer (a column or row) along the control’s edge. The position of the Maximized Element relative to this layer is specified by the MaximizedElementPosition property. By default, it’s set to Left, so the Maximized Element is displayed to the left of the layer of the other items.

If the FlowLayoutControl.AllowMaximizedElementMoving option is enabled, the position of the Maximized Element can be changed via drag-and-drop:

After the MaximizedElementPosition property has been changed, the FlowLayoutControl.MaximizedElementPositionChanged event fires.

See Also

FlowLayoutControl Class

FlowLayoutControl Members

DevExpress.Xpf.LayoutControl Namespace