Table of Contents

Enum AutoCompleteFilterMode

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll

Specifies how text in the text box portion of the AutoCompleteBox control is used to filter items specified by the ItemsSource property for display in the drop-down.

public enum AutoCompleteFilterMode

Fields

Contains = 5

Specifies a culture-sensitive, case-insensitive filter where the returned items contain the specified text.

ContainsCaseSensitive = 6

Specifies a culture-sensitive, case-sensitive filter where the returned items contain the specified text.

ContainsOrdinal = 7

Specifies an ordinal, case-insensitive filter where the returned items contain the specified text.

ContainsOrdinalCaseSensitive = 8

Specifies an ordinal, case-sensitive filter where the returned items contain the specified text.

Custom = 13

Specifies that a custom filter is used. This mode is used when the TextFilter or ItemFilter properties are set.

Equals = 9

Specifies a culture-sensitive, case-insensitive filter where the returned items equal the specified text. The filter uses the Equals(string, StringComparison) method, specifying CurrentCultureIgnoreCase as the search comparison criteria.

EqualsCaseSensitive = 10

Specifies a culture-sensitive, case-sensitive filter where the returned items equal the specified text. The filter uses the Equals(string, StringComparison) method, specifying CurrentCulture as the string comparison criteria.

EqualsOrdinal = 11

Specifies an ordinal, case-insensitive filter where the returned items equal the specified text. The filter uses the Equals(string, StringComparison) method, specifying OrdinalIgnoreCase as the string comparison criteria.

EqualsOrdinalCaseSensitive = 12

Specifies an ordinal, case-sensitive filter where the returned items equal the specified text. The filter uses the Equals(string, StringComparison) method, specifying Ordinal as the string comparison criteria.

None = 0

Specifies that no filter is used. All items are returned.

StartsWith = 1

Specifies a culture-sensitive, case-insensitive filter where the returned items start with the specified text. The filter uses the StartsWith(string, StringComparison) method, specifying CurrentCultureIgnoreCase as the string comparison criteria.

StartsWithCaseSensitive = 2

Specifies a culture-sensitive, case-sensitive filter where the returned items start with the specified text. The filter uses the StartsWith(string, StringComparison) method, specifying CurrentCulture as the string comparison criteria.

StartsWithOrdinal = 3

Specifies an ordinal, case-insensitive filter where the returned items start with the specified text. The filter uses the StartsWith(string, StringComparison) method, specifying OrdinalIgnoreCase as the string comparison criteria.

StartsWithOrdinalCaseSensitive = 4

Specifies an ordinal, case-sensitive filter where the returned items start with the specified text. The filter uses the StartsWith(string, StringComparison) method, specifying Ordinal as the string comparison criteria.