Search found 7 matches
- 02 Jul 2020, 08:01
- Forum: General Discussion
- Replies: 1
- Views: 1195
Triggering button command on key down
We have a few buttons in our application like
Is there a way to make a button trigger its command (MenuCommand) on key down rather than key up?
Code: Select all
<Button x:Name="MenuButton" Content="Menu" Command="{Binding MenuCommand}" />- 24 Jun 2020, 05:35
- Forum: General Discussion
- Replies: 7
- Views: 3337
Re: Pressing gamepad B button on a Textbox
The screen that I am working on contains two textboxes (first name and surname). When the user chooses to change the first name we manually set focus (via c++ code) to the first name textbox when we display the textbox to the user. Then when the user is done the back command will hide the textbox an...
- 23 Jun 2020, 02:10
- Forum: General Discussion
- Replies: 7
- Views: 3337
Re: Pressing gamepad B button on a Textbox
We have just realised that this solution does not fully work for us. Setting SupportsFocusEngagement to false allow us to call our BackCommand with just one Cancel input, but when focussing the textbox again we can't input text. So I assume that setting SupportsFocusEngagement to false has skipped s...
- 22 Jun 2020, 06:23
- Forum: General Discussion
- Replies: 7
- Views: 3337
Re: Pressing gamepad B button on a Textbox
Setting SupportsFocusEngagement to false was what I wanted.
Thanks.
Thanks.
- 18 Jun 2020, 05:36
- Forum: General Discussion
- Replies: 7
- Views: 3337
Pressing gamepad B button on a Textbox
I'm having some trouble getting my BackCommand to execute when pressing the Gamepad B button on a Textbox. Instead of calling my BackCommand it de-focuses the text entry and I have to press it a second time for it to work. Pressing the escape key calls my BackCommand first time with no problems. <Te...
- 09 Mar 2020, 23:43
- Forum: General Discussion
- Replies: 3
- Views: 3262
Re: Problem with Textbox responding to Gamepad input
Thanks. Much appreciated.
Do you have any idea when the next release will be?
Do you have any idea when the next release will be?
- 14 Feb 2020, 07:22
- Forum: General Discussion
- Replies: 3
- Views: 3262
Problem with Textbox responding to Gamepad input
Hi I'm having a problem trying to get a Textbox to respond when the "A" button is pressed on my Gamepad/Controller. Pressing the Enter key (which has the same callback) works as expected. My XAML code is as follows <TextBox x:Name="firstNameTextbox" HorizontalAlignment="Left...