Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit.Converters Namespace / FilePickerFileTypeConverter Class / CanConvertFrom Method / CanConvertFrom(ITypeDescriptorContext,Type) Method


In This Topic
    CanConvertFrom(ITypeDescriptorContext,Type) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Function CanConvertFrom( _
       ByVal context As ITypeDescriptorContext, _
       ByVal sourceType As Type _
    ) As Boolean
    'Usage
     
    
    Dim instance As FilePickerFileTypeConverter
    Dim context As ITypeDescriptorContext
    Dim sourceType As Type
    Dim value As Boolean
     
    value = instance.CanConvertFrom(context, sourceType)
    public override bool CanConvertFrom( 
       ITypeDescriptorContext context,
       Type sourceType
    )

    Parameters

    context
    sourceType
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also

    Reference

    FilePickerFileTypeConverter Class
    FilePickerFileTypeConverter Members
    Overload List
    Base Implementation in CanConvertFrom(ITypeDescriptorContext,Type)