Search found 11 matches

  • 1
  • 2
by dcockerham
11 Nov 2022, 22:33
Forum: General Discussion
Replies: 3
Views: 429

Re: Directional navigation not working inside ContextMenu

Thanks, that does work, and it helped me figure out the problem! I've been adding MenuItems inside of the template, rather than inside of the ContextMenu instantiation, like so: <ControlTemplate x:Key="ContextMenuTemplate" TargetType="ContextMenu"> <Border> <StackPanel KeyboardNa...
by dcockerham
11 Nov 2022, 00:45
Forum: General Discussion
Replies: 3
Views: 429

Directional navigation not working inside ContextMenu

I have a ContextMenu that doesn't seem to be receiving directional input. When one of the MenuItems has Focus, pressing up or down on a controller or keyboard does not move the Focus. As far as I can tell, the input is consumed before it reached the MenuItem. (For context, the ContextMenu is on a Bo...
by dcockerham
17 Oct 2022, 18:18
Forum: General Discussion
Replies: 2
Views: 315

Re: Can't move Focus from ListBox to out-of-view element?

Ah, I see. Thank you!
by dcockerham
11 Oct 2022, 20:34
Forum: General Discussion
Replies: 2
Views: 315

Can't move Focus from ListBox to out-of-view element?

I'm running into some behavior that seems odd to me, I'm trying to figure out if there's just something I don't understand about it or if it's some sort of bug. I'm using multiple ListBoxes within a single ScrollViewer to make a a single extended vertically scrolling box with multiple 2-column lists...
by dcockerham
04 Oct 2022, 23:35
Forum: General Discussion
Replies: 3
Views: 455

Re: Is it possible to disable default gamepad button handling?

Ah, looks like that'll do the trick! I was attempting to implement that before and it didn't seem to be working for me so I thought it just wouldn't work for this, but giving it another go now, it seems that I'd just made a mistake in my implementation. Thank you for your time!
by dcockerham
03 Oct 2022, 22:25
Forum: General Discussion
Replies: 3
Views: 455

Is it possible to disable default gamepad button handling?

We're trying to implement a menu where the gamepad's shoulder buttons, which are mapped to PageLeft and PageRight, are used to change a display in the background. However, the default logic for PageLeft/PageRight moves the target of the Focus. We do NOT want the Focus to be overridden when we press ...
by dcockerham
02 Sep 2022, 00:53
Forum: General Discussion
Replies: 4
Views: 377

ScrollChanged event missing the timing for ongoing scroll?

We have a custom ScrollViewer (inherited from Noesis::Scrollviewer) that's designed to accelerate over time as the user continues to scroll (allowing them to quickly scroll to the bottom of a long list if they hold down the right joystick of the controller). However, while our implementation was ori...
by dcockerham
14 Jul 2021, 01:48
Forum: General Discussion
Replies: 3
Views: 8155

ComboBox display not updating when values are changed by code

Hi, I'm having some difficulty with ComboBoxes. I'm trying to use a command to reset the values of a set of ComboBoxes, but when I use code to change the SelectedValue and SelectedIndex properties of the ComboBoxes, it doesn't seem to change the displayed value at all. I'm not sure if I may be misun...
by dcockerham
12 Apr 2021, 23:54
Forum: General Discussion
Replies: 4
Views: 788

Re: Setting IsFocused without setting IsFocusEngaged

Thanks, this is exactly what I was looking for! I think the proposed extension of SetFocusAction would be quite useful and convenient, though for the time being using SetUsingFocusEngagement(true) is getting the job done well enough.
  • 1
  • 2