Edit

Share via


Element.Matches(String) Method

Definition

Method invoked to determine if the cell matches the given text, never invoked with a null value or an empty string.

public virtual bool Matches (string text);
abstract member Matches : string -> bool
override this.Matches : string -> bool

Parameters

text
String

Text that the user is looking for

Returns

True if the element contains the text, false otherwise.

Remarks

This method should return true if the user would find the text represented by this cell. This could perform a search on the visible elements of the cell, or some components of the cell that are not visible.

Applies to