New to Telerik UI for .NET MAUIStart a free 30-day trial

Base class representing a context menu item for RadRichTextEditor.

Definition

Constructors

C#
protected RichTextEditorContextMenuItemBase()

Fields

TextProperty

BindableProperty

Identifies the Text property.

C#
public static readonly BindableProperty TextProperty

Properties

Gets the RadRichTextEditor this RichTextEditorContextMenuItemBase is associated with. This property is updated when this RichTextEditorContextMenuItemBase is added to or removed from the corresponding ContextMenuItems collection of the owning RadRichTextEditor.

C#
protected RadRichTextEditor RichTextEditor { get; }

Gets or sets the text of this RichTextEditorContextMenuItemBase.

C#
public string Text { get; set; }

Methods

Called when this RichTextEditorContextMenuItemBase is added to its RadRichTextEditor.

C#
protected virtual void OnAttachedTo(RadRichTextEditor richTextEditor)
Parameters:richTextEditorRadRichTextEditor

Called when this RichTextEditorContextMenuItemBase is removed from its RadRichTextEditor.

C#
protected virtual void OnDetachedFrom(RadRichTextEditor richTextEditor)
Parameters:richTextEditorRadRichTextEditor