ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)
Collapse the table of content
Expand the table of content

DataGridPreferredColumnWidthTypeConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

 

Converts the given object to the type of this converter, using the specified context and culture information.

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

public override object ConvertFrom(
	ITypeDescriptorContext context,
	CultureInfo culture,
	object value
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

culture
Type: System.Globalization.CultureInfo

The CultureInfo to use as the current culture.

value
Type: System.Object

The Object to convert.

Return Value

Type: System.Object

An Object that represents the converted value.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft