FontStyleConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)
.NET Framework 3.0
Attempts to convert a specified object to an instance of FontStyle.
Namespace: System.Windows
Assembly: PresentationCore (in presentationcore.dll)
Assembly: PresentationCore (in presentationcore.dll)
public override Object ConvertFrom ( ITypeDescriptorContext td, CultureInfo ci, Object value )
public Object ConvertFrom ( ITypeDescriptorContext td, CultureInfo ci, Object value )
public override function ConvertFrom ( td : ITypeDescriptorContext, ci : CultureInfo, value : Object ) : Object
You cannot use methods in XAML.
Parameters
- td
Describes the context information of a type.
- ci
Describes the CultureInfo of the type being converted.
- value
The object being converted.
Return Value
The instance of FontStyle created from the converted value.Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.