[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.FindOptions.MatchCase

MatchCase Property

MatchCase

Gets or sets whether searches are case-sensitive.

This property returns the current setting used by Find(object, IRange, FindOptions) and Find(object, IRange, FindOptions) to determine whether uppercase and lowercase letters are treated as different characters. The default value is false.

Declaration
public bool MatchCase { get; set; }
Public Property MatchCase As Boolean
Examples
worksheet.Range["A1"].Value = "Hello World";
FindOptions options = new FindOptions();
options.MatchCase = true;
bool matchCase = options.MatchCase;
worksheet.Range["A1:A1"].Find("Hello", null, options);