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.
FontStyleConverter::ConvertFrom Method (ITypeDescriptorContext^, CultureInfo^, Object^)
.NET Framework (current version)
Attempts to convert a specified object to an instance of FontStyle.
Assembly: PresentationCore (in PresentationCore.dll)
public: virtual Object^ ConvertFrom( ITypeDescriptorContext^ td, CultureInfo^ ci, Object^ value ) override
Parameters
- td
-
Type:
System.ComponentModel::ITypeDescriptorContext^
Context information of a type.
- ci
-
Type:
System.Globalization::CultureInfo^
CultureInfo of the type being converted.
- value
-
Type:
System::Object^
The object being converted.
| Exception | Condition |
|---|---|
| NotSupportedException | value is null or is not a valid type for conversion. |
.NET Framework
Available since 3.0
Available since 3.0
Show: