I'm developing a user control. My control should be visibl开发者_StackOverflow中文版e whenever the user presses ALT + S anywhere in the active Window. I'm going to use an ICommand and input bindings to achieve this.
My question is: how can I wire this code up when a developer drags my control from the toolbox to their Window design surface? I know the code I want to generate (Window.CommandBindings etc) but don't know how to make that happen from the toolbox.
Is there a way to do this? Thanks!
This might be useful.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论