CornersConverterCanConvertFrom Method |
Check whether can convert an object of the given type to the type of this converter, using the specified context
Namespace: Kettic.AspNet.Controls.ChartModel.StylesAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic override bool CanConvertFrom(
ITypeDescriptorContext context,
Type sourceType
)
Public Overrides Function CanConvertFrom (
context As ITypeDescriptorContext,
sourceType As Type
) As Boolean
public:
virtual bool CanConvertFrom(
ITypeDescriptorContext^ context,
Type^ sourceType
) override
abstract CanConvertFrom :
context : ITypeDescriptorContext *
sourceType : Type -> bool
override CanConvertFrom :
context : ITypeDescriptorContext *
sourceType : Type -> bool
Parameters
- context
- Type: System.ComponentModelITypeDescriptorContext
Context for types converting - sourceType
- Type: SystemType
Type to convert
Return Value
Type:
BooleanCan convert an object or not
See Also