Appbar focuses included searchbar on appearance - xaml

I'm developing a Windows Store App and have a AppBottom-Bar with an Searchbox and other controls.
When I run the app on a touch device and let the AppBar appear - the Seachbox automatically gets focused and the virtual keyboard appears. How do I prevent this behavior and only let the keyboard showing if the user clicks on the Searchbox?

Related

How to hide grey bar visible on iOS for custom keyboard

I have made a custom keyboard for my app that is set as visible on onFocus of TextInput. But the problem is that on iPad a grey line appears when the input is focused.
Also I have set the Predictive to false in settings for keyboard too.
Here is the screenshot of my application.
https://github.com/iamrohitagg/react-native-keyboard-android-ios is the link to my custom keyboard implementation.

UWP Listview works strange on mobile

I have a ListView where items are TextBoxes(pic.1). In desktop app when I click on any block I can write text and scroll of ListView will stay on current position. But! If I run the app on mobile and click on any box the scroll will return at START position! Why is this happening?

How can we provide default Back key press behaviour to a custom button tap event in Windows Phone 8?

I'm developing an Windows Phone 8 application. In a page i have placed one Button and one textbox. When user Taps on textbox, the default keyboard comes up. Now, keyboard is on display mode and i clicked on button which navigates me to another screen. After navigation it is giving me half the screen size to be in black and that is actually keyboard. So can anyone tell me how to hide the keyboard first and then navigate to another screen?
Is it possible to assign override OnBackKeyPress method to the button control? If not, what is the other way to get out of this problem?
All you have to do is changing the focus from textbox to page. Just add this code to button's tap event:
this.Focus();

Adding buttons to the Windows 8 on-screen keyboard

The Microsoft 'stocks' app has a row of buttons that are displayed at the top of the keyboard when you search for stocks:
(See the buttons just above the keyboard)
Is there a way to add these in my own app?
There is exactly the same question here and a person from Microsoft answered:
The keyboard is not extensible. What you see is the bottom AppBar on
top of the keyboard in that situation.
I think you should subscribe to Windows.UI.ViewManagement.InputPane.GetForCurrentView().Showing event, to show that application bar with suggestions when screen keyboard is shown.

Howto display iPad keyboard when application starts?

I have a simple (one view) application without any TextFileds. How can I show a native virtual keyboard when application starts?
You can use an invisible text field and give it focus. May I ask why you want a visible keyboard if there isn't a control for which the user will expect to receive the text?