I want to implement my custom Command. So, I derived from IImageCommand and implement execute Method. And then, call my command from XAML code. But, when I run my application nothing is happened.
This is an example of what I have implemented :
and in my XAML file :
Thank you very much for your responses. And it will be very helpful if there is an example showing how to create custom commands.
My warmest regards.
Bacem
This is an example of what I have implemented :
public class MyCustomCommand : IImageCommand { public Telerik.Windows.Media.Imaging.RadBitmap Execute(Telerik.Windows.Media.Imaging.RadBitmap source, object context) { //My code here .... } }<telerik:ImageToolItem ImageKey="Custom" Text="Custom Command" Command="{Binding MyCustomCommand}"/>My warmest regards.
Bacem