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.
DataGridLengthConverter::ConvertFrom Method (ITypeDescriptorContext^, CultureInfo^, Object^)
.NET Framework (current version)
Converts the specified object to an instance of the DataGridLength class.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: virtual Object^ ConvertFrom( ITypeDescriptorContext^ context, CultureInfo^ culture, Object^ value ) override
Parameters
- context
-
Type:
System.ComponentModel::ITypeDescriptorContext^
An object that provides a format context.
- culture
-
Type:
System.Globalization::CultureInfo^
The object to use as the current culture.
- value
-
Type:
System::Object^
The value to convert.
| Exception | Condition |
|---|---|
| ArgumentNullException | value is null. |
| ArgumentException | value is not a valid type that can be converted to type DataGridLength. |
.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Available since 4.0
Silverlight
Available since 2.0
Show: