The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ImageSourceConverter::ConvertFrom Method (ITypeDescriptorContext^, CultureInfo^, Object^)
.NET Framework (current version)
Attempts to convert a specified object to an instance of ImageSource.
Assembly: PresentationCore (in PresentationCore.dll)
public: [SecurityTreatAsSafeAttribute] [SecurityCriticalAttribute] virtual Object^ ConvertFrom( ITypeDescriptorContext^ context, CultureInfo^ culture, Object^ value ) override
Parameters
- context
-
Type:
System.ComponentModel::ITypeDescriptorContext^
Type context information used for conversion.
- culture
-
Type:
System.Globalization::CultureInfo^
Cultural information that is respected during conversion.
- value
-
Type:
System::Object^
The object being converted.
| Exception | Condition |
|---|---|
| NotSupportedException | value is null or is an invalid type. |
.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Show: