Skip to content

Commit 0f40d23

Browse files
authored
Update FindOnPage.md
Updated supress def dialog and should highlight
1 parent 1315049 commit 0f40d23

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

FindOnPage.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -579,12 +579,22 @@ namespace Microsoft.Web.WebView2.Core
579579
/// Stops the current 'Find' operation and hides the Find bar.
580580
void StopFind();
581581

582-
/// Gets or sets the state of whether all matches are highlighted. Returns TRUE if all matches are highlighted, FALSE otherwise.
582+
/// Gets or sets the state of whether all matches are highlighted.
583+
/// Returns TRUE if all matches are highlighted, FALSE otherwise.
584+
/// Note: Changes to this property take effect only when StartFind, FindNext, or FindPrevious is called.
585+
/// Preferences for the session cannot be updated unless another call to the StartFind function on the server-side is made.
586+
/// Therefore, changes will not take effect until one of these functions is called.
583587
Boolean ShouldHighlightAllMatches { get; set; };
584-
585-
/// Set this property to hide the default Find UI. You can use this to hide the default UI so that you can show your own custom UI or programmatically interact with the Find API while showing no Find UI. Returns TRUE if hiding the default Find UI and FALSE if using showing the default Find UI.
588+
589+
/// Sets this property to hide the default Find UI.
590+
/// You can use this to hide the default UI so that you can show your own custom UI or programmatically interact with the Find API while showing no Find UI.
591+
/// Returns TRUE if hiding the default Find UI and FALSE if using showing the default Find UI.
592+
/// Note: Changes to this property take effect only when StartFind, FindNext, or FindPrevious is called.
593+
/// Preferences for the session cannot be updated unless another call to the StartFind function on the server-side is made.
594+
/// Therefore, changes will not take effect until one of these functions is called.
586595
Boolean SuppressDefaultFindDialog { get; set; };
587596

597+
588598
/// Retrieves the index of the currently active match in the find session. Returns the index of the currently active match, or -1 if there is no active match.
589599
Int32 ActiveMatchIndex { get; };
590600

0 commit comments

Comments
 (0)