/// <summary> /// Initializes a new instance of the <see cref="Menu"/> class with the specified name. /// </summary> /// <param name="name">The specified name.</param> public Menu(string name) : base(new SafeControlHandle(Libui.NewMenu(name))) => Name = name;