1

Topic: RoutedCommand OwnerType

At creation of the user command in designer RoutedCommand it is required to specify OwnerType type Type: public RoutedCommand (string name, Type ownerType, InputGestureCollection inputGestures) {...} Looked at source codes on Referencesource and saw that parameter ownerType will simply be saved as a private field of a class and it is exposed outside in the form of public not the virtual property OwnerType (truth still built in  it use, but it is details). There is a question, what then from it sense? Simply for the information, perhaps to be useful? Or where that in bowels WPF this parameter and the property with the same name all the same is used

2

Re: RoutedCommand OwnerType

Hello, Cynic, you wrote: the C> Arises a question, what then from it sense? Simply for the information, perhaps to be useful? Or where that in bowels WPF this parameter and the property with the same name all the same is used ILSpy in the help: As we see, it is used in converters.