What should be owner type of a routed command?

Posted by viky on Stack Overflow See other posts from Stack Overflow or by viky
Published on 2010-04-06T07:40:17Z Indexed on 2010/04/06 7:43 UTC
Read the original article Hit count: 437

Filed under:
|
|
|

I am using wpf Custom Commands. While writing a custom Command, you need to define the owner type. Description says that it is the type that is registering the command. I was seeing some sample and there the Owner type was UIElement and in some others it was the class name itself. Whats the difference? What should be the owner type?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf