CanConvertTo Method (ITypeDescriptorContext, Type)
Collapse the table of content
Expand the table of content

InputScopeNameConverter.CanConvertTo Method (ITypeDescriptorContext, Type)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines whether conversion is possible to the specified type from a InputScopeName object.

Namespace:  System.Windows.Input
Assembly:  System.Windows (in System.Windows.dll)

public override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
destinationType
Type: System.Type
The intended destination type for the conversion.

Return Value

Type: System.Boolean
true if destinationType is a type that this converter can convert to InputScopeName; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft