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

MapPointConverter.CanConvertFrom Method (ITypeDescriptorContext, Type)

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

Returns a value that indicates whether the specified type can be converted to a Point.

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

public override bool CanConvertFrom(
	ITypeDescriptorContext context,
	Type sourceType
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext
Type context.
sourceType
Type: System.Type
The type that is to be converted to a Point.

Return Value

Type: System.Boolean
true if the specified type can be converted to a Point; otherwise false.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft