windowsforms-devexpress-dot-xtrabars-dot-popupmenubase-0c9b8edc.md
Gets or sets the name of the popup menu component.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(false)]
public string Name { get; set; }
<Browsable(False)>
Public Property Name As String
| Type | Description |
|---|---|
| String |
A string value representing the name of the popup menu.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Name property.
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.
winforms-assign-popupmenu-to-dropdownbutton/CS/DropDownButtonExample/Form1.cs#L47
PopupMenu menu = new PopupMenu(manager);
menu.Name = name;
menu.AddItems(items);
winforms-assign-popupmenu-to-dropdownbutton/VB/DropDownButtonExample/Form1.vb#L48
Dim menu As PopupMenu = New PopupMenu(manager)
menu.Name = name
menu.AddItems(items)
See Also