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

Parameters

typeDescriptorContext
Type: System.ComponentModel.ITypeDescriptorContext

Context information required for conversion.

cultureInfo
Type: System.Globalization.CultureInfo

Cultural information that is respected during conversion.

value
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
Show:
© 2017 Microsoft