ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / StringListConverter Class / CanConvertTo Method / CanConvertTo(ITypeDescriptorContext,Type) Method
An object that provides a format context.
The type you want to convert to.

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

    Parameters

    context
    An object that provides a format context.
    destinationType
    The type you want to convert to.

    Return Value

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