Windows apps
Collapse the table of content
Expand the table of content
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.

KeyTimeConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)


Attempts to convert a given object to an instance of KeyTime.

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

public override object ConvertFrom(
	ITypeDescriptorContext typeDescriptorContext,
	CultureInfo cultureInfo,
	object value


Type: System.ComponentModel.ITypeDescriptorContext

Context information required for conversion.

Type: System.Globalization.CultureInfo

Cultural information that is respected during conversion.

Type: System.Object

The object being converted to an instance of KeyTime.

Return Value

Type: System.Object

A new instance of KeyTime, based on the supplied value.

.NET Framework
Available since 3.0
Return to top
© 2017 Microsoft