Matrix3DConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

 

Attempts to convert to a Matrix3D from the given object.

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

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

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

The ITypeDescriptorContext for this call.

culture
Type: System.Globalization.CultureInfo

The CultureInfo which is respected when converting.

value
Type: System.Object

The object to convert to an instance of Matrix3D.

Return Value

Type: System.Object

Matrix3D that was constructed.

Exception Condition
NotSupportedException

A NotSupportedException is thrown if the example object is null or is not a valid type which can be converted to a Matrix3D.

.NET Framework
Available since 3.0
Return to top
Show: