AutoCompleteFilterMode Enum

Summary

Specifies how text in the text box portion of the AutoCompleteBox control is used to filter items specified by the Avalonia.Controls.AutoCompleteBox.ItemsSource property for display in the drop-down.
Namespace
Avalonia.Controls
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["AutoCompleteFilterMode"] class Type type-node

Syntax

public enum AutoCompleteFilterMode

Fields

Name Constant Value Summary
Contains 5
Specifies a culture-sensitive, case-insensitive filter where the returned items contain the specified text.
static
ContainsCaseSensitive 6
Specifies a culture-sensitive, case-sensitive filter where the returned items contain the specified text.
static
ContainsOrdinal 7
Specifies an ordinal, case-insensitive filter where the returned items contain the specified text.
static
ContainsOrdinalCaseSensitive 8
Specifies an ordinal, case-sensitive filter where the returned items contain the specified text.
static
Custom 13
Specifies that a custom filter is used. This mode is used when the TextFilter or ItemFilter properties are set.
static
Equals 9
Specifies a culture-sensitive, case-insensitive filter where the returned items equal the specified text. The filter uses the System.String.Equals(System.String,System.StringComparison) method, specifying System.StringComparer.CurrentCultureIgnoreCase as the search comparison criteria.
static
EqualsCaseSensitive 10
Specifies a culture-sensitive, case-sensitive filter where the returned items equal the specified text. The filter uses the System.String.Equals(System.String,System.StringComparison) method, specifying System.StringComparer.CurrentCulture as the string comparison criteria.
static
EqualsOrdinal 11
Specifies an ordinal, case-insensitive filter where the returned items equal the specified text. The filter uses the System.String.Equals(System.String,System.StringComparison) method, specifying System.StringComparer.OrdinalIgnoreCase as the string comparison criteria.
static
EqualsOrdinalCaseSensitive 12
Specifies an ordinal, case-sensitive filter where the returned items equal the specified text. The filter uses the System.String.Equals(System.String,System.StringComparison) method, specifying System.StringComparer.Ordinal as the string comparison criteria.
static
None 0
Specifies that no filter is used. All items are returned.
static
StartsWith 1
Specifies a culture-sensitive, case-insensitive filter where the returned items start with the specified text. The filter uses the System.String.StartsWith(System.String,System.StringComparison) method, specifying System.StringComparer.CurrentCultureIgnoreCase as the string comparison criteria.
static
StartsWithCaseSensitive 2
Specifies a culture-sensitive, case-sensitive filter where the returned items start with the specified text. The filter uses the System.String.StartsWith(System.String,System.StringComparison) method, specifying System.StringComparer.CurrentCulture as the string comparison criteria.
static
StartsWithOrdinal 3
Specifies an ordinal, case-insensitive filter where the returned items start with the specified text. The filter uses the System.String.StartsWith(System.String,System.StringComparison) method, specifying System.StringComparer.OrdinalIgnoreCase as the string comparison criteria.
static
StartsWithOrdinalCaseSensitive 4
Specifies an ordinal, case-sensitive filter where the returned items start with the specified text. The filter uses the System.String.StartsWith(System.String,System.StringComparison) method, specifying System.StringComparer.Ordinal as the string comparison criteria.
static

Extension Methods