Reputation: 2114
is it possible to create a Silverlight control, which one has a bindable RelayCommand<MyType> property?
If yes, please show me an example!
Upvotes: 0
Views: 346
Reputation: 16926
Yes it is, use a DependencyProperty
of type RelayCommand
.
See http://msdn.microsoft.com/en-us/library/ms752914.aspx fore more info on dependency properties.
Upvotes: 1