Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / ComboBox Class / FilterType Property


In This Topic
    FilterType Property (ComboBox)
    In This Topic
    Gets or sets the type of filter that will be used to filter the ItemsSource as the user types in the ComboBox.
    Syntax
    'Declaration
     
    
    Public Property FilterType As StringFilterType
    'Usage
     
    
    Dim instance As ComboBox
    Dim value As StringFilterType
     
    instance.FilterType = value
     
    value = instance.FilterType
    public StringFilterType FilterType {get; set;}
    Remarks

    The default value is StringFilterType.StartsWith, which means that the input will be filtered based on the first letters typed in the ComboBox; thus, the ComboBox will display suggestions taken from the ItemsSource that start with the same characters as the input.

    Note that if the ItemsSource represents a collection of objects, the FilterTextPath property has priority over the DisplayMemberPath property when filtering. 

    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