示例#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));
        }