using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; using RainmeterStudio.Core.Editor.Features; namespace RainmeterStudio.UI.ViewModel { public class ToolboxItemViewModel { /// /// Gets the toolbox item /// public ToolboxItem Item { get; private set; } /// /// Gets the display text of the toolbox item /// public string DisplayText { get { return Item.Name; } } /// /// Gets the tooltip text of the toolbox item /// public string ToolTip { get { return "Placeholder tooltip for " + Item.Name; } } /// /// Gets the icon /// public ImageSource Icon { get { return null; } } /// /// Initializes the toolbox item view model /// /// public ToolboxItemViewModel(ToolboxItem item) { Item = item; } } }