Adds Data field to MenuItem

This commit is contained in:
Thomas Nind
2022-05-01 17:02:53 +01:00
parent 7a12d7c85e
commit 4a69da1d19

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"/>