ColorToNameConverter.

Convert(object[], Type, object, CultureInfo) Method

Summary

Converts a given Color to its Name

Syntax

public override object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)

Parameters

Name Type Description
values object[] Needed: The Color. Optional: A Dictionary<TKey, TValue>
targetType Type
parameter object
culture CultureInfo

Return Value

Type Description
object The name of the color or the Hex-Code if no name is available