示例#1
0
 /// <summary>
 /// Replace the text of an element matching the current query with the given text, and then dismiss the keyboard
 /// </summary>
 /// <param name="query">The current query</param>
 /// <param name="text">The text that will replace the one currently in the element</param>
 public static QueryEx ReplaceTextAndDismiss(this QueryEx query, string text)
 {
     query.ClearText();
     return(query.EnterTextAndDismiss(text));
 }