using System; using System.Collections.Generic; namespace DelftTools.Controls { public interface IMenuItem : IMenuItemCollection { /// /// Name is the unique identifier for a menuitem /// string Name { get; set; } /// /// Text is the visible text of a menuitem /// string Text { get; set; } string Tooltip { get; set; } string Category { get; set; } string Shortcut { get; set; } /// /// Get or set the enabled status of the menu. Disabled items are grayed /// bool Enabled { get; set; } /// /// Defines view type which will be used to show this menuitem when view is active. /// Menuitem is always active if this property is null. /// IList ActiveForViews { get; } ICommand Command { get; set; } } }