BrushToColorConverter::Convert Method (Brush^, Object^, CultureInfo^)

 

Converts the specified brush to a color.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

protected:
virtual Color Convert(
	Brush^ value,
	Object^ parameter,
	CultureInfo^ culture
) override

Parameters

value
Type: System.Windows.Media::Brush^

The value of the brush.

parameter
Type: System::Object^

Parameter used by the brush.

culture
Type: System.Globalization::CultureInfo^

Culture of the brush.

Return Value

Type: System.Windows.Media::Color

Returns the color of the brush.

Return to top
Show: