ComponentOne Reports for WPF
C1.C1Preview Namespace / C1PageSettings.PageSettingsTypeConverter Class / CanConvertTo Method / CanConvertTo(ITypeDescriptorContext,Type) Method
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
A System.Type that represents the type to convert from.

In This Topic
    CanConvertTo(ITypeDescriptorContext,Type) Method
    In This Topic
    Tests whether an object of the specified type can be converted to the type of this converter.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function CanConvertTo( _
       ByVal context As ITypeDescriptorContext, _
       ByVal type As Type _
    ) As Boolean
    public override bool CanConvertTo( 
       ITypeDescriptorContext context,
       Type type
    )

    Parameters

    context
    An System.ComponentModel.ITypeDescriptorContext that provides a format context.
    type
    A System.Type that represents the type to convert from.

    Return Value

    True if this converter can perform the conversion, false otherwise.
    See Also