//=============================================================================== // Goal Book. // Copyright © 2009 Mark Brownsword. //=============================================================================== #region Using Statements using System; using System.Windows.Input; using GoalBook.Infrastructure.Enums; #endregion namespace GoalBook.Infrastructure { public class CommandInfo { /// <summary> /// Constructor. /// </summary> public CommandInfo(string title, int index, ParentMenuType parentMenu, Uri iconUri, KeyGesture keyInputGesture) { Title = title; Index = index; ParentMenu = parentMenu; IconUri = iconUri; KeyInputGesture = keyInputGesture; } /// <summary> /// Gets or sets the title used by the UI element. /// </summary> public string Title { get; set; } /// <summary> /// Gets or sets the index for the menuitem. /// </summary> public int Index { get; set; } /// <summary> /// Gets or sets the ParentMenu. /// </summary> public ParentMenuType ParentMenu { get; set; } /// <summary> /// Gets or sets the IconUri. /// </summary> public Uri IconUri { get; set; } /// <summary> /// Gets or sets the KeyInputGesture. /// </summary> public KeyGesture KeyInputGesture { get; set; } } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)