C# Class System.Windows.Controls.AutoCompleteSearch

A predefined set of filter functions for the known, built-in AutoCompleteFilterMode enumeration values.
Afficher le fichier Open project: Warewolf-ESB/Warewolf

Méthodes publiques

Méthode Description
Contains ( string text, string value ) : bool

Check if the prefix is contained in the string value. The current culture's case insensitive string comparison operator is used.

ContainsCaseSensitive ( string text, string value ) : bool

Check if the prefix is contained in the string value.

ContainsOrdinal ( string text, string value ) : bool

Check if the prefix is contained in the string value.

ContainsOrdinalCaseSensitive ( string text, string value ) : bool

Check if the prefix is contained in the string value.

Equals ( string text, string value ) : bool

Check if the string values are equal.

EqualsCaseSensitive ( string text, string value ) : bool

Check if the string values are equal.

EqualsOrdinal ( string text, string value ) : bool

Check if the string values are equal.

EqualsOrdinalCaseSensitive ( string text, string value ) : bool

Check if the string values are equal.

GetFilter ( AutoCompleteFilterMode FilterMode ) : AutoCompleteFilterPredicate

Index function that retrieves the filter for the provided AutoCompleteFilterMode.

StartsWith ( string text, string value ) : bool

Check if the string value begins with the text.

StartsWithCaseSensitive ( string text, string value ) : bool

Check if the string value begins with the text.

StartsWithOrdinal ( string text, string value ) : bool

Check if the string value begins with the text.

StartsWithOrdinalCaseSensitive ( string text, string value ) : bool

Check if the string value begins with the text.

Method Details

Contains() public static méthode

Check if the prefix is contained in the string value. The current culture's case insensitive string comparison operator is used.
public static Contains ( string text, string value ) : bool
text string The AutoCompleteBox prefix text.
value string The item's string value.
Résultat bool

ContainsCaseSensitive() public static méthode

Check if the prefix is contained in the string value.
public static ContainsCaseSensitive ( string text, string value ) : bool
text string The AutoCompleteBox prefix text.
value string The item's string value.
Résultat bool

ContainsOrdinal() public static méthode

Check if the prefix is contained in the string value.
public static ContainsOrdinal ( string text, string value ) : bool
text string The AutoCompleteBox prefix text.
value string The item's string value.
Résultat bool

ContainsOrdinalCaseSensitive() public static méthode

Check if the prefix is contained in the string value.
public static ContainsOrdinalCaseSensitive ( string text, string value ) : bool
text string The AutoCompleteBox prefix text.
value string The item's string value.
Résultat bool

Equals() public static méthode

Check if the string values are equal.
public static Equals ( string text, string value ) : bool
text string The AutoCompleteBox prefix text.
value string The item's string value.
Résultat bool

EqualsCaseSensitive() public static méthode

Check if the string values are equal.
public static EqualsCaseSensitive ( string text, string value ) : bool
text string The AutoCompleteBox prefix text.
value string The item's string value.
Résultat bool

EqualsOrdinal() public static méthode

Check if the string values are equal.
public static EqualsOrdinal ( string text, string value ) : bool
text string The AutoCompleteBox prefix text.
value string The item's string value.
Résultat bool

EqualsOrdinalCaseSensitive() public static méthode

Check if the string values are equal.
public static EqualsOrdinalCaseSensitive ( string text, string value ) : bool
text string The AutoCompleteBox prefix text.
value string The item's string value.
Résultat bool

GetFilter() public static méthode

Index function that retrieves the filter for the provided AutoCompleteFilterMode.
public static GetFilter ( AutoCompleteFilterMode FilterMode ) : AutoCompleteFilterPredicate
FilterMode AutoCompleteFilterMode The built-in search mode.
Résultat AutoCompleteFilterPredicate

StartsWith() public static méthode

Check if the string value begins with the text.
public static StartsWith ( string text, string value ) : bool
text string The AutoCompleteBox prefix text.
value string The item's string value.
Résultat bool

StartsWithCaseSensitive() public static méthode

Check if the string value begins with the text.
public static StartsWithCaseSensitive ( string text, string value ) : bool
text string The AutoCompleteBox prefix text.
value string The item's string value.
Résultat bool

StartsWithOrdinal() public static méthode

Check if the string value begins with the text.
public static StartsWithOrdinal ( string text, string value ) : bool
text string The AutoCompleteBox prefix text.
value string The item's string value.
Résultat bool

StartsWithOrdinalCaseSensitive() public static méthode

Check if the string value begins with the text.
public static StartsWithOrdinalCaseSensitive ( string text, string value ) : bool
text string The AutoCompleteBox prefix text.
value string The item's string value.
Résultat bool