Show / Hide Table of Contents

Enum AutoCompleteFilterMode

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: System.Windows.Controls
Assembly: OpenSilver.Controls.Input.dll
Syntax
public enum AutoCompleteFilterMode

Fields

Name Description
Contains

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

ContainsCaseSensitive

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

ContainsOrdinal

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

ContainsOrdinalCaseSensitive

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

Custom

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

Equals

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.

EqualsCaseSensitive

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.

EqualsOrdinal

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.

EqualsOrdinalCaseSensitive

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.

None

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

StartsWith

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.

StartsWithCaseSensitive

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.

StartsWithOrdinal

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.

StartsWithOrdinalCaseSensitive

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.

  • Improve this Doc
  • View Source