Merge pull request #1689 from tznind/add-data-to-menuitem

Adds Data field to MenuItem
This commit is contained in:
Tig Kindel
2022-05-04 08:01:23 -07:00
committed by GitHub

View File

@@ -43,6 +43,12 @@ namespace Terminal.Gui {
ustring title;
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>
/// Initializes a new instance of <see cref="MenuItem"/>