RadRichTextBox Multiple Undo/Redo

2 posts, 0 answers
  1. Steve
    Steve avatar
    124 posts
    Member since:
    Jun 2011

    Posted 19 Apr 2012 Link to this post

    Requirements

    RadControls version - RadControls for WPF Q1 2012 SP1
                                                   

     

    .NET version 4.0

     

    Visual Studio version 2010    

     

    programming language C#

     

    browser support

    all browsers supported by RadControls


    PROJECT DESCRIPTION                                    
    Multiple Undo/Redo and Typing Action Grouping - see attached zip, and to use...
    // in code-behind
     
    var undoControl = new MultipleUndoControl();
    // add to xaml container
    UndoPopup.Items.Add(undoControl);
    RichTextBoxUndoRibbonUI.SetRichTextCommand(undoControl, new MultiUndoCommand(rtb));
     
    var redoControl = new MultipleRedoControl();
    // add to xaml container
    RedoPopup.Items.Add(redoControl);
    RichTextBoxRedoRibbonUI.SetRichTextCommand(redoControl, new MultiRedoCommand(rtb));

  2. Mihail
    Admin
    Mihail avatar
    192 posts

    Posted 25 Apr 2012 Link to this post

    Hello Steve,

    Thank you for sharing your code with the community. I have updated your Telerik points.  

    All the best,
    Mihail
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top