MarginsConverterCanConvertFrom Method |
Checks the possibility to convert from a different object type
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
An System.ComponentModel.ITypeDescriptorContext that provides a format context. - sourceType
- Type: SystemType
The type to convert from
Return Value
Type:
BooleanTrue if conversion is possible
See Also