Back to Devexpress

RadialMenu.ShowPopup(Point) Method

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-radialmenu-dot-showpopup-x28-system-dot-drawing-dot-point-x29.md

latest2.5 KB
Original Source

RadialMenu.ShowPopup(Point) Method

Displays the menu at the specified position.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public override void ShowPopup(
    Point point
)
vb
Public Overrides Sub ShowPopup(
    point As Point
)

Parameters

NameTypeDescription
pointPoint

A Point where the menu is displayed.

|

Remarks

A displayed menu can be later hidden via the RadialMenu.HidePopup method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowPopup(Point) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

create-winforms-radial-menu/CS/CreateRadialMenu/Form1.cs#L32

csharp
pt.Offset(this.Width / 2, this.Height / 2);
    radialMenu.ShowPopup(pt);
}

create-winforms-radial-menu/VB/CreateRadialMenu/Form1.vb#L30

vb
pt.Offset(Width \ 2, Height \ 2)
    radialMenu.ShowPopup(pt)
End Sub

See Also

HidePopup()

AutoExpand

RadialMenu Class

RadialMenu Members

DevExpress.XtraBars.Ribbon Namespace