Color.ToString Method (IFormatProvider)

 

Creates a string representation of the color by using the sRGB channels and the specified format provider.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public string ToString(
	IFormatProvider provider
)

Parameters

provider
Type: System.IFormatProvider

Culture-specific formatting information.

Return Value

Type: System.String

The string representation of the color.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: