inputbinding Questions

6

Solved

The following situation. I've got a UserControl with five keybindings. When the TextBox has the focus the keybindings of the UserControl stop firing.. Is there a way to fix this 'problem'? <Us...
Shuffleboard asked 17/10, 2012 at 19:17

1

Solved

Migrated my Azure Function to .net5 the other day and now I'm struggling with basic input binding stuff. My query => /api/query?sgtins=foo1&sgtins=foo2 On version 3.1, a simple req.Query[&qu...
Spellbind asked 14/6, 2021 at 9:13

5

Solved

I have designed a reuseable usercontrol. It contains UserControl.InputBindings. It is quite simple as it only contains a label and a button (and new properties etc.) When I use the control in my w...
Impulsive asked 26/4, 2014 at 20:39

4

Solved

I'm working with the MVVM pattern in WPF (a bit new to both). I'd like to set up an InputBinding on a CheckBox that corresponds to a Control + Click event, but do not see a Modifiers property on t...
Bac asked 3/11, 2009 at 14:36

2

Solved

I have a typical treeview and a viewmodel. The viewmodel has an observable collection of other viewmodels that serves as a data source for the tree. public class TreeViewVM { public ObservableCo...
Shulamite asked 29/6, 2010 at 16:5

2

Solved

I'm creating a WPF app using the MVVM design pattern, and I'm trying to extend the TabItem control so that it closes the tab when the user clicks the middle mouse button. I'm trying to achieve this...
Cutlery asked 18/4, 2010 at 1:37

2

Solved

I would love to be able to use a regular MouseBinding to capture a CTRL-Click event on my TextBlock. Unfortunately the Command property is not a dependency property and I'm using MVVM, so I can't b...
Filagree asked 15/9, 2009 at 14:46

1

Solved

I would like to add a right click and left click command to each ListBoxItem in a Style. Is this possible? <Style TargetType="{x:Type ListBoxItem}"> <Setter Property="InputBindings"> ...
Nilson asked 31/12, 2009 at 1:53

2

Solved

I have a WPF application with several windows. I would like to define GLOBAL inputBindings. To define LOCAL inputbindings, i just declare the input in Window.InputBindings or UserControl.InputBind...
Hellenistic asked 9/7, 2009 at 15:23

1

I used CommandManager.RegisterClassInputBinding to add binding to the whole type. Now I want to remove it. This is what I tested. private void CommandBinding_Executed_1(object sender, ExecutedRou...
Gumdrop asked 15/6, 2009 at 18:20
1

© 2022 - 2024 — McMap. All rights reserved.