mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Adds Data field to MenuItem
This commit is contained in:
@@ -43,6 +43,12 @@ namespace Terminal.Gui {
|
|||||||
ustring title;
|
ustring title;
|
||||||
|
|
||||||
ShortcutHelper shortcutHelper;
|
ShortcutHelper shortcutHelper;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets arbitrary data for the menu item.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>This property is not used internally.</remarks>
|
||||||
|
public object Data { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of <see cref="MenuItem"/>
|
/// Initializes a new instance of <see cref="MenuItem"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user