ClassFindOptions
Configuration for find operations specifying search criteria, scope, direction, and matching rules.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class FindOptions
Inheritance: objectFindOptions
Derived Classes:
Constructors
FindOptions()
Initializes find options with default settings: search by rows within the current sheet in formula content.
Declaration
public FindOptions()
Properties
FindBy
Direction for traversing cells, either row-by-row or column-by-column.
Declaration
public FindBy FindBy { get; set; }
Property Value
The find by option.
FindIn
Cell content type to search within: raw formula text or formatted display values.
Declaration
public FindInContentType FindIn { get; set; }
Property Value
The find in option.
FindWhat
Text pattern to search for; supports wildcards (* and ?) unless escaped.
Declaration
public string FindWhat { get; set; }
Property Value
The searched string.
FindWithin
Scope controlling whether to search only the current sheet or across the entire workbook.
Declaration
public FindWithin FindWithin { get; set; }
Property Value
The find within option.
MatchCase
Whether to perform case-sensitive matching; when false, comparisons ignore case.
Declaration
public bool MatchCase { get; set; }
Property Value
The value indicating whether the match case option should be used.
MatchEntireCellContents
Whether to match only when the search pattern equals the entire cell content, not just a substring.
Declaration
public bool MatchEntireCellContents { get; set; }
Property Value
The value indicating whether the option to match entire cell contents should be used.
SearchRanges
Optional collection of cell ranges to limit the search scope; if null, searches the entire configured scope.
Declaration
public IEnumerable<CellRange> SearchRanges { get; set; }
Property Value
The search ranges.
StartCell
Cell position where the search begins; subsequent searches wrap around if no match is found.
Declaration
public WorksheetCellIndex StartCell { get; set; }
Property Value
The start cell.
Methods
CopyPropertiesFrom(FindOptions)
Copies all search configuration properties from another FindOptions instance into this one.
Declaration
public void CopyPropertiesFrom(FindOptions options)
Parameters
options
The options.
GetHashCode()
Serves as a hash function for a particular type.