BrushToColorConverter.Convert Method (Brush, Object, CultureInfo)
Converts the specified brush to a color.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Protected Overrides Function Convert ( _
value As Brush, _
parameter As Object, _
culture As CultureInfo _
) As Color
protected override Color Convert(
Brush value,
Object parameter,
CultureInfo culture
)
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.