MatrixConverter::ConvertFrom Method (ITypeDescriptorContext^, CultureInfo^, Object^)

 

Attempts to convert the specified object to a Matrix.

Namespace:   System.Windows.Media
Assembly:  WindowsBase (in WindowsBase.dll)

public:
virtual Object^ ConvertFrom(
	ITypeDescriptorContext^ context,
	CultureInfo^ culture,
	Object^ value
) override

Parameters

context
Type: System.ComponentModel::ITypeDescriptorContext^

The context information of a type.

culture
Type: System.Globalization::CultureInfo^

The CultureInfo of the type being converted.

value
Type: System::Object^

The object being converted.

Return Value

Type: System::Object^

The Matrix created from converting value.

Exception Condition
NotSupportedException

The specified object is null or is a type that cannot be converted to a Matrix.

To determine whether a conversion is possible without actually performing the conversion, use the CanConvertFrom method.

.NET Framework
Available since 3.0
Return to top
Show: