Approved
Last Updated: 15 Aug 2017 10:02 by ADMIN
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 26 Oct 2015 15:44
Category: RichTextEditor
Type: Feature Request
0
ADD. RadRichTextEditor - add ability to control whether mini-toolbar will be shown or not inside a comment
Workaround:

private void radRichTextEditor1_CommentShowing(object sender, Telerik.WinForms.Documents.UI.CommentShowingEventArgs e)
{
  ((SelectionMiniToolBar)  this.radRichTextEditor1.RichTextBoxElement.SelectionMiniToolBar).Shown+=Form1_Shown;    
}
 
private void Form1_Shown(object sender, EventArgs e)
{
    ((SelectionMiniToolBar)sender).Visible = false;
    ((SelectionMiniToolBar)sender).VisibleChanged+=Form1_VisibleChanged;
}
 
private void Form1_VisibleChanged(object sender, EventArgs e)
{
    ((SelectionMiniToolBar)sender).Visible = false; 
}
0 comments