DXSubMenuItem(String, EventHandler) Constructor
In This Article
Initializes a new instance of the DXSubMenuItem class with the specified caption and the handler for the DXSubMenuItem.BeforePopup event.
Namespace: DevExpress.Utils.Menu
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public DXSubMenuItem(
string caption,
EventHandler beforePopup
)
#Parameters
Name | Type | Description |
---|---|---|
caption | String | A string that specifies the text displayed by the menu item. This value is assigned to the DXMenu |
before |
Event |
A handler for the DXSub |
See Also