Hello every body,
I am currently trying to custumize the RadSpreadsheet. My purpose is to redirect the shortcut „Ctrl+S“ to my own custum command.
I tried this
<telerik:RadSpreadsheet x:Name="radSpreadsheet" >
<telerik:RadSpreadsheet.InputBindings>
<KeyBinding Gesture="Ctrl+S" Command="{Binding myCommand}"/>
</telerik:RadSpreadsheet.InputBindings>
……
</telerik:RadSpreadsheet>
But I am still getting the default command. Is there any way to achieve what I want?
Just to make it clear. I did the same thing with RadRichTextBox
<telerik:RadRichTextBox x:Name="radRichTextBox" >
<telerik:RadRichTextBox.InputBindings>
<KeyBinding Gesture="Ctrl+S" Command="{Binding SaveFileCommand}" />
</telerik:RadRichTextBox.InputBindings>
</telerik:RadRichTextBox>
</telerik:RadRichTextBox x:Name="radRichTextBox" >
it works well.
Please help.
Best regards
I am currently trying to custumize the RadSpreadsheet. My purpose is to redirect the shortcut „Ctrl+S“ to my own custum command.
I tried this
<telerik:RadSpreadsheet x:Name="radSpreadsheet" >
<telerik:RadSpreadsheet.InputBindings>
<KeyBinding Gesture="Ctrl+S" Command="{Binding myCommand}"/>
</telerik:RadSpreadsheet.InputBindings>
……
</telerik:RadSpreadsheet>
But I am still getting the default command. Is there any way to achieve what I want?
Just to make it clear. I did the same thing with RadRichTextBox
<telerik:RadRichTextBox x:Name="radRichTextBox" >
<telerik:RadRichTextBox.InputBindings>
<KeyBinding Gesture="Ctrl+S" Command="{Binding SaveFileCommand}" />
</telerik:RadRichTextBox.InputBindings>
</telerik:RadRichTextBox>
</telerik:RadRichTextBox x:Name="radRichTextBox" >
it works well.
Please help.
Best regards