Share via


ColorConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

Converts the given value to the type of this converter.

Syntax

'Declaration
Public Overrides Function ConvertFrom ( _
         context As ITypeDescriptorContext, _
         culture As CultureInfo, _
         value As Object _
) As Object 
public override Object ConvertFrom (
         ITypeDescriptorContext context,
         CultureInfo culture,
         Object value
)
public:
Object ConvertFrom(
         ITypeDescriptorContext context,
         CultureInfo culture,
         Object value
) override

Parameters

Return Value

Type: Object
The converted value.

Requirements

Namespace: Microsoft.Xna.Framework.Design

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

ColorConverter Class
ColorConverter Members
Microsoft.Xna.Framework.Design Namespace

Platforms

Windows Phone