PixelFormatConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Attempts to convert a specified object to an instance of PixelFormat.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

override ConvertFrom : 
        td:ITypeDescriptorContext *
        ci:CultureInfo *
        o:Object -> Object

Parameters

td
Type: System.ComponentModel.ITypeDescriptorContext

Type context information used for conversion.

ci
Type: System.Globalization.CultureInfo

Cultural information that is respected during conversion.

o
Type: System.Object

The object being converted.

Return Value

Type: System.Object

An Object that represents the converted value.

Exception Condition
NotSupportedException

o is null or is an invalid type.

.NET Framework
Available since 3.0
Return to top
Show: