public void OnSoftkeyServiceVisibleEvent(object sender, Shell.SoftkeyVisibleState state) { Shell.SoftkeyService obj = (Shell.SoftkeyService)sender; textSoftkeyServiceVisible.Text = $"Visible: {state}"; if (state == Shell.SoftkeyVisibleState.Shown) { obj.Show(); } else { obj.Hide(); } }
private void BtnSoftkeyServiceShow_ClickEvent(object sender, Button.ClickEventArgs e) { softkeyService.Show(); }