routed-commands
using routed events within Silverlight user controls
within my current project file I have a user control that has a storyb开发者_JS百科oard animation applied to the control. When a button is clicked in the page the storyboard starts and basically visua[详细]
2023-02-27 04:57 分类:问答How to set ButtonBaseExtensions.Command DataContext, and not change the buttons' context
I am using mvvm light in a WP7 app. I have a listbox with an itemsource of a collection of objects. The ItemTemplate DataTemplate for the listbox contains a button. The button contains a textbl开发者[详细]
2023-02-20 23:18 分类:问答How to run methods across pages in Silverlight?
I need to be able to set the visibility of the Border to be visible for 10 seconds. The border resides in MainPage.xaml which is parent to Content.xaml. The trick is that I need to change the visibili[详细]
2023-02-19 15:54 分类:问答Clear MenuItem, with clear command
hi i\'m a \"very\" beginner in wpf i\'m trying to make a menu item \"Clear\", it should clear the text in the focused text box,[详细]
2023-02-19 10:28 分类:问答Boolean CommandParameter in XAML
I have this code (which works just right): <KeyBinding Key=\"Enter\" Command=\"{Binding ReturnResultCommand}\">[详细]
2023-02-10 05:55 分类:问答WPF Commands, How to declare Application level commands?
I\'m interested in creating commands that are available from anywhere in my WPF application. I\'d like them to work in the same way as Cut, Copy, Paste and the other Application level commands, ie:[详细]
2023-02-05 13:00 分类:问答RoutedCommands Executed and PreviewExecuted events
My problem is that I would like to handle a commands in multiple places. For instance I have my custom UserControl where a Button is bound to some command. I have a command binding in that control but[详细]
2023-02-03 16:49 分类:问答Command routing for Keyboard shortcuts
Basically I want to create a keyboard shortcut which is valid within the scope of a window, and not just enabled when focus is within the control that binds it.[详细]
2023-02-03 02:45 分类:问答WPF Application Command Bindings doesn't work
Hi I have a strange problem with CommandBindings in WPF. I add CommandBindings in constructor of object. The command bindings looks like that[详细]
2023-01-30 02:27 分类:问答Objection to MVVM pattern is lack of IDE support - do any of the frameworks help with that?
Some of our developers don\'t like the commanding i开发者_如何学运维n MVVM because there is no support in VS2010 IDE to help you navigate from the Command binding in xaml to the actual code implementi[详细]
2023-01-28 22:06 分类:问答