AutoCompleteFilterMode Enumeration

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.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public enum AutoCompleteFilterMode

Members

None0 Specifies that no filter is used. All items are returned.
StartsWith1 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.
StartsWithCaseSensitive2 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.
StartsWithOrdinal3 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.
StartsWithOrdinalCaseSensitive4 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.
Contains5 Specifies a culture-sensitive, case-insensitive filter where the returned items contain the specified text.
ContainsCaseSensitive6 Specifies a culture-sensitive, case-sensitive filter where the returned items contain the specified text.
ContainsOrdinal7 Specifies an ordinal, case-insensitive filter where the returned items contain the specified text.
ContainsOrdinalCaseSensitive8 Specifies an ordinal, case-sensitive filter where the returned items contain the specified text.
Equals9 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.
EqualsCaseSensitive10 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.
EqualsOrdinal11 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.
EqualsOrdinalCaseSensitive12 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.
Custom13 Specifies that a custom filter is used. This mode is used when the TextFilter or ItemFilter properties are set.

See Also