Share via


ColorConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

Note

This method is available only when developing for Windows.

Converts the given value to the type of this converter.

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

Syntax

public override Object ConvertFrom (
         ITypeDescriptorContext context,
         CultureInfo culture,
         Object value
)

Parameters

  • context
    The format context.
  • culture
    The current culture.
  • value
    The object to convert.

Return Value

The converted value.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista