Пример #1
0
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            TagItemState item = value as TagItemState;
            string       path = "IconResources/tagicon" + item.State;

            path += item.IsRelated + ".png";
            return(path);
        }
Пример #2
0
 private TagItem(Tag tag, TagItemState state)
 {
     Tag   = tag;
     State = state;
 }