// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // Defines the SourceMenuItem type. // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrakeWPF.Model { using System.Collections.ObjectModel; using System.Windows.Controls; using System.Windows.Input; /// /// The source menu item. /// public class SourceMenuItem { /// /// Initializes a new instance of the class. /// public SourceMenuItem() { this.Children = new ObservableCollection(); } /// /// Gets or sets the text. /// public string Text { get; set; } /// /// Gets or sets the command. /// public ICommand Command { get; set; } /// /// Gets or sets the image. /// public Image Image { get; set; } /// /// Gets or sets the children. /// public ObservableCollection Children { get; set; } /// /// Gets or sets a value indicating whether is drive. /// public bool IsDrive { get; set; } /// /// Gets or sets the tag. /// public object Tag { get; set; } /// /// Gets or sets the input gesture text. /// public string InputGestureText { get; set; } } }