RadRichTextBox Multiple Undo/Redo

Thread is closed for posting
2 posts, 0 answers
  1. 3293546E-FAAA-44B5-8AC3-68DBC5196E4C
    3293546E-FAAA-44B5-8AC3-68DBC5196E4C avatar
    135 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. 8B83D266-23A7-452C-A8D0-BF5D1A763E57
    8B83D266-23A7-452C-A8D0-BF5D1A763E57 avatar
    268 posts
    Member since:
    Sep 2017

    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

This Code Library is part of the product documentation and subject to the respective product license agreement.