Compartilhar via


BrushToColorConverter.Convert Method (Brush, Object, CultureInfo)

Converts the specified brush to a color.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
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
)
protected:
virtual Color Convert(
    Brush^ value, 
    Object^ parameter, 
    CultureInfo^ culture
) override
abstract Convert : 
        value:Brush * 
        parameter:Object * 
        culture:CultureInfo -> Color  
override Convert : 
        value:Brush * 
        parameter:Object * 
        culture:CultureInfo -> Color
protected override function Convert(
    value : Brush, 
    parameter : Object, 
    culture : CultureInfo
) : Color

Parameters

  • value
    Type: Brush

    The value of the brush.

  • parameter
    Type: Object

    Parameter used by the brush.

  • culture
    Type: CultureInfo

    Culture of the brush.

Return Value

Type: Color
Returns the color of the brush.

.NET Framework Security

See Also

Reference

BrushToColorConverter Class

Convert Overload

Microsoft.VisualStudio.PlatformUI Namespace