ColorBrushValueConverter.Convert Method (Color, Object, CultureInfo)
This member overrides ValueConverter<TSource, TTarget>.Convert(TSource, Object, CultureInfo).
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Protected Overrides Function Convert ( _
colorObject As Color, _
parameter As Object, _
culture As CultureInfo _
) As SolidColorBrush
'Utilisation
Dim colorObject As Color
Dim parameter As Object
Dim culture As CultureInfo
Dim returnValue As SolidColorBrush
returnValue = Me.Convert(colorObject, _
parameter, culture)
protected override SolidColorBrush Convert(
Color colorObject,
Object parameter,
CultureInfo culture
)
protected:
virtual SolidColorBrush^ Convert(
Color colorObject,
Object^ parameter,
CultureInfo^ culture
) override
abstract Convert :
colorObject:Color *
parameter:Object *
culture:CultureInfo -> SolidColorBrush
override Convert :
colorObject:Color *
parameter:Object *
culture:CultureInfo -> SolidColorBrush
protected override function Convert(
colorObject : Color,
parameter : Object,
culture : CultureInfo
) : SolidColorBrush
Parameters
- colorObject
Type: System.Windows.Media.Color
- parameter
Type: System.Object
- culture
Type: System.Globalization.CultureInfo
Return Value
Type: System.Windows.Media.SolidColorBrush
.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.
See Also
Reference
ColorBrushValueConverter Class