Hello,
I would like to break a paragraph in two, for starters I have tried using Commands.InsertLineBreakCommand but it doesn't work.
I have found though that I can achive this by doing:
My question is, isn't there a specific command which I can bind to the button command?
I would like to break a paragraph in two, for starters I have tried using Commands.InsertLineBreakCommand but it doesn't work.
I have found though that I can achive this by doing:
private void InsertNewParagraph_Click(object sender, RoutedEventArgs e)
{
this.richTextBox.Document.Insert(" " + Environment.NewLine, new Telerik.Windows.Documents.Model.Styles.StyleDefinition());
this.richTextBox.UpdateEditorLayout();
this.richTextBox.Focus();
}
My question is, isn't there a specific command which I can bind to the button command?