Hi Boris,
I prepared a sample for you that shows a sample command that is bound to RadTreeViewItem`s Command property and it is invoked when the Item is clicked. The command I created is a custom command that implements the ICommand interface - CanExecute and Executed methods. The CommandExecutionTrigger is Enumeration with two elements: Click and DoubleClick and determines whether Command is invoked on mouse Click or mouse DoubleClick. The command parameter is object that can be passed in the Execute and CanExecute methods. The
CommandTarget determines the object that the commnad is being executed on. For example you can use ApplicationCommands like Save Cut Copy and set particular TextBox in the CommandTarget.
All of the four properties could be bound cia ContainerBindings in the example provided. Let us know if you need further assistance on this.
Regards,
Petar Mladenov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the
Telerik Public Issue Tracking system and vote to affect the priority of the items