Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CanConvertTo Method (ITypeDescriptorContext, Type)
Collapse the table of content
Expand the table of content

DataGridLengthConverter.CanConvertTo Method (ITypeDescriptorContext, Type)

Determines whether an instance of the DataGridLength class can be converted to an instance of the specified type.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

An object that provides a format context.

destinationType
Type: System.Type

The type to convert to.

Return Value

Type: System.Boolean
true if this converter can perform the conversion; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft