Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / FilePicker Class / Filter Property


In This Topic
    Filter Property
    In This Topic
    Gets or sets the filter that will be used by the System Explorer once it is opened.
    Syntax
    'Declaration
     
    
    <TypeConverterAttribute(Xceed.Maui.Toolkit.Converters.FilePickerFileTypeConverter)>
    Public Property Filter As FilePickerFileType
    'Usage
     
    
    Dim instance As FilePicker
    Dim value As FilePickerFileType
     
    instance.Filter = value
     
    value = instance.Filter
    [TypeConverter(Xceed.Maui.Toolkit.Converters.FilePickerFileTypeConverter)]
    public FilePickerFileType Filter {get; set;}
    Remarks

    This filter allows to display only specific types of files in the System Explorer.

    For more information on the supported file types, see the FilePickerFileType class.

    Note that the filter is normally deactivated, since the default value for this property is none.

    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