Specifies that a control should be found by the content text or value attribute. Finds the control that has the content or value attribute matching the specified term(s). Uses Title as the default term case.

Inherited from TermFindAttribute.

<input type="button" value="Save">
<button>Cancel</button>
[FindByContentOrValue]
public Button<_> Save { get; private set; }

[FindByContentOrValue]
public Button<_> Cancel { get; private set; }