This question is locked. New answers and comments are not allowed.
I'm tying to extend the ribbon GUI with a new dropdown icon that allows users to select an item (text string) that should be inserted in the document at the current position. I assumed that the text to be inserted should be defined in the ConmmandParameter attribute, but nothing happens when I select the the entry.
Is it not possible to do this in XAML, do I have to create a Click event handler and call the command from there? If so - what should that event handler look like?
<
telerik:RadButton
CornerRadius
=
"3"
Grid.Row
=
"0"
IsBackgroundVisible
=
"False"
IsTabStop
=
"False"
telerik:RadRichTextBoxRibbonUI.RichTextCommand
=
"{Binding Path=InsertTextCommand}"
CommandParameter
=
"Text to be inserted"
Text
=
'Description'
/>
Is it not possible to do this in XAML, do I have to create a Click event handler and call the command from there? If so - what should that event handler look like?