Search found 7 matches

by IanM
02 Jul 2020, 08:01
Forum: General Discussion
Replies: 1
Views: 176

Triggering button command on key down

We have a few buttons in our application like
<Button x:Name="MenuButton" Content="Menu" Command="{Binding MenuCommand}" />
Is there a way to make a button trigger its command (MenuCommand) on key down rather than key up?
by IanM
24 Jun 2020, 05:35
Forum: General Discussion
Replies: 7
Views: 1094

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...
by IanM
23 Jun 2020, 02:10
Forum: General Discussion
Replies: 7
Views: 1094

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...
by IanM
22 Jun 2020, 06:23
Forum: General Discussion
Replies: 7
Views: 1094

Re: Pressing gamepad B button on a Textbox

Setting SupportsFocusEngagement to false was what I wanted.
Thanks.
by IanM
18 Jun 2020, 05:36
Forum: General Discussion
Replies: 7
Views: 1094

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...
by IanM
09 Mar 2020, 23:43
Forum: General Discussion
Replies: 3
Views: 1415

Re: Problem with Textbox responding to Gamepad input

Thanks. Much appreciated.

Do you have any idea when the next release will be?
by IanM
14 Feb 2020, 07:22
Forum: General Discussion
Replies: 3
Views: 1415

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" Height="41" TextWrappin...