Back to Devexpress

DXPopupMenu.Alignment Property

windowsforms-devexpress-dot-utils-dot-menu-dot-dxpopupmenu-e43800be.md

latest1.5 KB
Original Source

DXPopupMenu.Alignment Property

Gets or sets the menu’s alignment relative to the mouse cursor.

Namespace : DevExpress.Utils.Menu

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
public ContentAlignment Alignment { get; set; }
vb
Public Property Alignment As ContentAlignment

Property Value

TypeDescription
ContentAlignment

The ContentAlignment value that is the alignment of the menu relative to the mouse cursor.

|

Remarks

The Alignment property is in effect only when the DXPopupMenu is displayed as a RibbonMiniToolbar object. See the DXPopupMenu.MenuViewType topic to learn about the menu’s display modes.

See Also

DXPopupMenu Class

DXPopupMenu Members

DevExpress.Utils.Menu Namespace