Hi,
I'm trying to implement a copy function.
In XAML I did the following:
How can I get access to the CommandParameter "copy" in the code-behind so that I can determine that a copy is needed instead of a regular AddNew?
Thanks in advance
I'm trying to implement a copy function.
In XAML I did the following:
<telerik:RadButton Command="telerik:RadDataFormCommands.AddNew" CommandTarget="{Binding ElementName=df}"ToolTip="Copy" CommandParameter="copy">
<telerik:RadButton.Content>
<Image Source="Images/Copy.png"/>
</telerik:RadButton.Content>
</telerik:RadButton>How can I get access to the CommandParameter "copy" in the code-behind so that I can determine that a copy is needed instead of a regular AddNew?
Thanks in advance