TextDecorationCollectionConverter::ConvertFrom Method (ITypeDescriptorContext^, CultureInfo^, Object^)
.NET Framework (current version)
Attempts to convert a specified object to an instance of TextDecorationCollection.
Assembly: PresentationCore (in PresentationCore.dll)
public: virtual Object^ ConvertFrom( ITypeDescriptorContext^ context, CultureInfo^ culture, Object^ input ) override
Parameters
- context
-
Type:
System.ComponentModel::ITypeDescriptorContext^
Describes the context information of a type.
- culture
-
Type:
System.Globalization::CultureInfo^
Describes the CultureInfo of the type being converted.
- input
-
Type:
System::Object^
The object being converted.
| Exception | Condition |
|---|---|
| NotSupportedException | Occurs if input is null or is not a valid type for conversion. |
.NET Framework
Available since 3.0
Available since 3.0
Show: