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.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public enum AutoCompleteFilterMode
Public Enumeration AutoCompleteFilterMode
type AutoCompleteFilterMode
| 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.
|
| 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.
|
| 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.
|
| Custom | 13 |
Specifies that a custom filter is used. This mode is used when the
TextFilter or ItemFilter
properties are set.
|