Windows Dev Center

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.

EventSetterHandlerConverter.CanConvertTo Method (ITypeDescriptorContext, Type)

.NET Framework 4.6 and 4.5

Returns whether this converter can convert the object to the specified type.

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

public override bool CanConvertTo(
	ITypeDescriptorContext typeDescriptorContext,
	Type destinationType
)

Parameters

typeDescriptorContext
Type: System.ComponentModel.ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

destinationType
Type: System.Type

A Type that represents the type you want to convert to.

Return Value

Type: System.Boolean
Always returns false.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft