Пример #1
0
        public Object Convert(
            Object value, Type targetType, Object parameter, CultureInfo culture)
        {
            Color colorValue = (Color)value;

            return(ColorNames.GetColorName(colorValue));
        }
Пример #2
0
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            Color colorToSeek = (Color)value;

            return(ColorNames.GetColorName(colorToSeek));
        }