private void OnItemActivated(object sender, ItemActivatedArgs args) { if (_options.SelectedItem.Text.StartsWith("Search")) { HideAll(); _search.Visible = true; _searchEntry.Visible = true; _searchEntry.Focus(); } return; }
private void OnItemActivated(object sender, ItemActivatedArgs args) { if (_options.SelectedItem.Text.StartsWith("URL")) { HideAll(); _url.Visible = true; _urlEntry.Visible = true; _urlEntry.Focus(); } else if (_options.SelectedItem.Text.StartsWith("Password")) { HideAll(); _password.Visible = true; _passwordEntry.Visible = true; _passwordEntry.Focus(); } return; }
/** * Function: ShowEditor * * Shows the editor. * * Author: wellinthatcase * * Date: 12/25/2020 */ private void ShowEditor() { HideMDView(); TextEntry.Visibility = Visibility.Visible; TextEntry.Focus(); }
public override void Focus() { TextEntry.Focus(); }
private void _searchButton_Click(object sender, EventArgs e) { HideAll(); _searchEntry.Visible = true; _searchEntry.Focus(); }