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

Gets or sets whether a maximized element’s position can be changed at runtime via drag-and-drop.

Namespace: DevExpress.Xpf.LayoutControl

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

NuGet Package: DevExpress.Wpf.LayoutControl

#Declaration

public bool AllowMaximizedElementMoving { get; set; }

#Property Value

Type Description
Boolean

A Boolean value that indicates if a maximized element’s position can be changed at runtime via drag-and-drop.

#Remarks

For information on a maximized element, see FlowLayoutControl.MaximizedElement.

The AllowMaximizedElementMoving property enables changing the position of the maximized element relative to the remaining items via drag-and-drop. If this property is set to true, an end-user can drag the maximized element above, below, to the left or right of the remaining items. A dedicated indicator is displayed during drag-and-drop, showing the selected position:

MaximizedElementDragAndDropIndicator

To change the position of the maximized element in code, use the FlowLayoutControl.MaximizedElementPosition property.

Note that drag-and-drop of a maximized element is supported if the object doesn’t process mouse events itself.

See Also