System.Windows.Controls.AutoCompleteSearch.ContainsCaseSensitive C# (CSharp) Method

ContainsCaseSensitive() public static method

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.
return bool
        public static bool ContainsCaseSensitive(string text, string value)
        {
            return value.Contains(text, StringComparison.CurrentCulture);
        }