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.

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 override Object ConvertFrom(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value
)

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.

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft