Class ContextMenuContentBuilder
Generates items for the context menu.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.RichTextBoxUI.Menus
Assembly: Telerik.Windows.Controls.RichTextBoxUI.dll
Syntax
public class ContextMenuContentBuilder : IContextMenuContentBuilder
Constructors
ContextMenuContentBuilder()
Initializes a new instance of the ContextMenuContentBuilder class.
Declaration
public ContextMenuContentBuilder()
ContextMenuContentBuilder(RadRichTextBox)
Declaration
[Obsolete("Use the default constructor instead.")]
public ContextMenuContentBuilder(RadRichTextBox radRichTextBox)
Parameters
RadRichTextBox
radRichTextBox
|
Properties
IncorrectWordInfo
RadRichTextBox
Gets or sets the RadRichTexBox to get context from.
Declaration
public RadRichTextBox RadRichTextBox { get; set; }
Property Value
RadRichTextBox
|
Implements
Methods
Construct()
Constructs collection of context menu groups, depending on the context determined from RadRichTextBox and IncorrectWordInfo properties.
Declaration
public virtual ContextMenuGroupCollection Construct()
Returns
ContextMenuGroupCollection
Collection of context menu groups. |
Implements
CreateAddTextBoxCommand()
Creates the AddTextBoxCommand in the menu.
Declaration
protected virtual ContextMenuGroup CreateAddTextBoxCommand()
Returns
ContextMenuGroup
|
CreateClipboardCommands()
Creates the clipboard commands menu items (cut, copy, paste, etc.).
Declaration
protected virtual ContextMenuGroup CreateClipboardCommands()
Returns
ContextMenuGroup
|
CreateCodeBlockCommands()
Creates the code block commands menu items.
Declaration
protected virtual ContextMenuGroup CreateCodeBlockCommands()
Returns
ContextMenuGroup
|
CreateEditTextBoxCommand()
Creates the CreateEditTextBox in the menu.
Declaration
protected virtual ContextMenuGroup CreateEditTextBoxCommand()
Returns
ContextMenuGroup
|
CreateFieldCommands()
Creates the field commands menu items.
Declaration
protected virtual ContextMenuGroup CreateFieldCommands()
Returns
ContextMenuGroup
|
CreateFloatingBlockCommands()
Creates the floating block commands menu items.
Declaration
protected virtual ContextMenuGroup CreateFloatingBlockCommands()
Returns
ContextMenuGroup
|
CreateFloatingShapesCommands()
Creates the floating block commands menu items.
Declaration
protected virtual ContextMenuGroup CreateFloatingShapesCommands()
Returns
ContextMenuGroup
|
CreateHeaderFooterCommands(Boolean)
CreateHyperlinkCommands(Boolean)
Creates the hyperlink commands menu items.
Declaration
protected virtual ContextMenuGroup CreateHyperlinkCommands(bool forExistingHyperlink)
Parameters
System.Boolean
forExistingHyperlink
True if group should be created for editing of existing hyperlink, otherwise false. |
Returns
ContextMenuGroup
ContextMenuGroup containing hyperlink commands. |
CreateImageCommands()
Creates the image commands menu items.
Declaration
protected virtual ContextMenuGroup CreateImageCommands()
Returns
ContextMenuGroup
|
CreateListCommands()
Creates the list commands menu items.
Declaration
protected virtual ContextMenuGroup CreateListCommands()
Returns
ContextMenuGroup
|
CreateSpellCheckingSuggestions()
Creates the spell checking suggestions menu items.
Declaration
protected virtual ContextMenuGroup CreateSpellCheckingSuggestions()
Returns
ContextMenuGroup
|
CreateTableCommands()
Creates the table commands menu items.
Declaration
protected virtual ContextMenuGroup CreateTableCommands()
Returns
ContextMenuGroup
|
CreateTextEditCommands()
Creates the text edit commands menu items.
Declaration
protected virtual ContextMenuGroup CreateTextEditCommands()
Returns
ContextMenuGroup
ContextMenuGroup containing text editing commands. |
CreateTrackChangesCommands()
Creates the clipboard commands menu items (cut, copy, paste, etc.).
Declaration
protected virtual ContextMenuGroup CreateTrackChangesCommands()
Returns
ContextMenuGroup
|