Class RadRichTextEditor
RadRichTextEditor is a WYSIWYG control that can display and edit HTML content.
Inherited Members
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class RadRichTextEditor : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Constructors
RadRichTextEditor()
Fields
AutoGenerateContextMenuProperty
Identifies the Auto
Declaration
public static readonly BindableProperty AutoGenerateContextMenuProperty
Field Value
Microsoft.
|
BackgroundColorProperty
Identifies the Background
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
Microsoft.
|
BorderColorProperty
Identifies the Border
Declaration
public static readonly BindableProperty BorderColorProperty
Field Value
Microsoft.
|
BorderThicknessProperty
Identifies the Border
Declaration
public static readonly BindableProperty BorderThicknessProperty
Field Value
Microsoft.
|
BusyIndicatorContentProperty
Identifies the Busy
Declaration
public static readonly BindableProperty BusyIndicatorContentProperty
Field Value
Microsoft.
|
BusyIndicatorTemplateProperty
Identifies the Busy
Declaration
public static readonly BindableProperty BusyIndicatorTemplateProperty
Field Value
Microsoft.
|
CornerRadiusProperty
Identifies the Corner
Declaration
public static readonly BindableProperty CornerRadiusProperty
Field Value
Microsoft.
|
FontAttributesProperty
Identifies the Font
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
Microsoft.
|
FontFamilyProperty
Identifies the Font
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Microsoft.
|
FontSizeProperty
Identifies the Font
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Microsoft.
|
HighlightTextColorProperty
Identifies the Highlight
Declaration
public static readonly BindableProperty HighlightTextColorProperty
Field Value
Microsoft.
|
HorizontalTextAlignmentProperty
Identifies the Horizontal
Declaration
public static readonly BindableProperty HorizontalTextAlignmentProperty
Field Value
Microsoft.
|
IsBusyProperty
Identifies the Is
Declaration
public static readonly BindableProperty IsBusyProperty
Field Value
Microsoft.
|
IsDocumentLoadedProperty
Identifies the Is
Declaration
public static readonly BindableProperty IsDocumentLoadedProperty
Field Value
Microsoft.
|
IsHyperlinkSelectedProperty
Identifies the Is
Declaration
public static readonly BindableProperty IsHyperlinkSelectedProperty
Field Value
Microsoft.
|
IsImageSelectedProperty
Identifies the Is
Declaration
public static readonly BindableProperty IsImageSelectedProperty
Field Value
Microsoft.
|
IsReadOnlyProperty
Identifies the Is
Declaration
public static readonly BindableProperty IsReadOnlyProperty
Field Value
Microsoft.
|
ListTypeProperty
Identifies the List
Declaration
public static readonly BindableProperty ListTypeProperty
Field Value
Microsoft.
|
SelectionRangeProperty
Identifies the Selection
Declaration
public static readonly BindableProperty SelectionRangeProperty
Field Value
Microsoft.
|
SourceProperty
Identifies the Source property.
Declaration
public static readonly BindableProperty SourceProperty
Field Value
Microsoft.
|
TextColorProperty
Identifies the Text
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Microsoft.
|
TextDecorationsProperty
Identifies the Text
Declaration
public static readonly BindableProperty TextDecorationsProperty
Field Value
Microsoft.
|
TextFormattingProperty
Identifies the Text
Declaration
public static readonly BindableProperty TextFormattingProperty
Field Value
Microsoft.
|
Properties
AlignCenterCommand
Gets a command to apply center text alignment in the Rad
Declaration
public ICommand AlignCenterCommand { get; }
Property Value
System.
|
AlignJustifyCommand
Gets a command to apply justify text alignment in the Rad
Declaration
public ICommand AlignJustifyCommand { get; }
Property Value
System.
|
AlignLeftCommand
Gets a command to apply left text alignment in the Rad
Declaration
public ICommand AlignLeftCommand { get; }
Property Value
System.
|
AlignRightCommand
Gets a command to apply right text alignment in the Rad
Declaration
public ICommand AlignRightCommand { get; }
Property Value
System.
|
ApplyHyperlinkCommand
Gets a command to apply a hyperlink in the Rad
Declaration
public ICommand ApplyHyperlinkCommand { get; }
Property Value
System.
|
AutoGenerateContextMenu
Gets or sets a value indicating whether to auto-generate the Rich
Declaration
public bool AutoGenerateContextMenu { get; set; }
Property Value
System.
|
BackgroundColor
Gets or sets the background color of the Rad
Declaration
public Color BackgroundColor { get; set; }
Property Value
Microsoft.
|
BorderColor
Gets or sets the border color of the Rad
Declaration
public Color BorderColor { get; set; }
Property Value
Microsoft.
|
BorderThickness
Gets or sets the border thickness of the Rad
Declaration
public Thickness BorderThickness { get; set; }
Property Value
Microsoft.
|
BusyIndicatorContent
Gets the content to show when the Rad
Declaration
public View BusyIndicatorContent { get; }
Property Value
Microsoft.
|
BusyIndicatorTemplate
Gets or sets a Microsoft.
Declaration
public DataTemplate BusyIndicatorTemplate { get; set; }
Property Value
Microsoft.
|
ClearFormattingCommand
Gets a command to clear the formatting of the text in the Rad
Declaration
public ICommand ClearFormattingCommand { get; }
Property Value
System.
|
ContextMenuItems
Gets the collection of Rich
Declaration
public IList<RichTextEditorContextMenuItemBase> ContextMenuItems { get; }
Property Value
System.
|
CopyCommand
Gets a command to copy the selected HTML in the Rad
Declaration
public ICommand CopyCommand { get; }
Property Value
System.
|
CornerRadius
Gets or sets the corner radius of the Rad
Declaration
public Thickness CornerRadius { get; set; }
Property Value
Microsoft.
|
CutCommand
Gets a command to cut the selected HTML in the Rad
Declaration
public ICommand CutCommand { get; }
Property Value
System.
|
FontAttributes
Gets or sets the Rich
Declaration
public RichTextFontAttributes FontAttributes { get; set; }
Property Value
FontFamily
Gets or sets the font family of the text in the Rad
Declaration
public string FontFamily { get; set; }
Property Value
System.
|
FontSize
Gets or sets the font size of the text in the Rad
Declaration
public RichTextUnit FontSize { get; set; }
Property Value
HighlightTextColor
Gets or sets the highlight Microsoft.
Declaration
public Color HighlightTextColor { get; set; }
Property Value
Microsoft.
|
HorizontalTextAlignment
Gets or sets the Rich
Declaration
public RichTextHorizontalAlignment HorizontalTextAlignment { get; set; }
Property Value
IndentCommand
Gets a command to indent the text in the Rad
Declaration
public ICommand IndentCommand { get; }
Property Value
System.
|
InsertImageCommand
Gets a command to insert an image in the Rad
Declaration
public ICommand InsertImageCommand { get; }
Property Value
System.
|
IsBusy
Gets a value indicating whether the Rad
Declaration
public bool IsBusy { get; }
Property Value
System.
|
IsDocumentLoaded
Gets a value indicating whether a document is currently loaded in the Rad
Declaration
public bool IsDocumentLoaded { get; }
Property Value
System.
|
IsHyperlinkSelected
Gets a value indicating whether a hyperlink is currently selected in the Rad
Declaration
public bool IsHyperlinkSelected { get; }
Property Value
System.
|
IsImageSelected
Gets a value indicating whether an image is currently selected in the Rad
Declaration
public bool IsImageSelected { get; }
Property Value
System.
|
IsReadOnly
Gets or sets a value indicating whether the Rad
Declaration
public bool IsReadOnly { get; set; }
Property Value
System.
|
ListType
Gets or sets the Rich
Declaration
public RichTextListType ListType { get; set; }
Property Value
OpenHyperlinkCommand
Gets a command to open a hyperlink in the Rad
Declaration
public ICommand OpenHyperlinkCommand { get; }
Property Value
System.
|
OutdentCommand
Gets a command to outdent the text in the Rad
Declaration
public ICommand OutdentCommand { get; }
Property Value
System.
|
PasteCommand
Gets a command to paste from the clipboard to the Rad
Declaration
public ICommand PasteCommand { get; }
Property Value
System.
|
RedoCommand
Gets a command to redo the last changes in the Rad
Declaration
public ICommand RedoCommand { get; }
Property Value
System.
|
RemoveHyperlinkCommand
Gets a command to remove a hyperlink in the Rad
Declaration
public ICommand RemoveHyperlinkCommand { get; }
Property Value
System.
|
RemoveImageCommand
Gets a command to remove an image in the Rad
Declaration
public ICommand RemoveImageCommand { get; }
Property Value
System.
|
SelectAllCommand
Gets a command to select all in the Rad
Declaration
public ICommand SelectAllCommand { get; }
Property Value
System.
|
SelectionRange
Gets or sets the selection range of the text in the Rad
Declaration
public RichTextSelectionRange SelectionRange { get; set; }
Property Value
Source
Gets or sets a Rich
Declaration
public RichTextSource Source { get; set; }
Property Value
TextColor
Gets or sets the Microsoft.
Declaration
public Color TextColor { get; set; }
Property Value
Microsoft.
|
TextDecorations
Gets or sets the Rich
Declaration
public RichTextDecorations TextDecorations { get; set; }
Property Value
TextFormatting
Gets or sets the Rich
Declaration
public RichTextFormatting TextFormatting { get; set; }
Property Value
ToggleBoldCommand
Gets a command to toggle the bold text style in the Rad
Declaration
public ICommand ToggleBoldCommand { get; }
Property Value
System.
|
ToggleBulletingCommand
Gets a command to toggle the bullets paragraph style in the Rad
Declaration
public ICommand ToggleBulletingCommand { get; }
Property Value
System.
|
ToggleItalicCommand
Gets a command to toggle the italic text style in the Rad
Declaration
public ICommand ToggleItalicCommand { get; }
Property Value
System.
|
ToggleNumberingCommand
Gets a command to toggle the numbering paragraph style in the Rad
Declaration
public ICommand ToggleNumberingCommand { get; }
Property Value
System.
|
ToggleStrikethroughCommand
Gets a command to toggle the strike-through text style in the Rad
Declaration
public ICommand ToggleStrikethroughCommand { get; }
Property Value
System.
|
ToggleSubscriptCommand
Gets a command to toggle the subscript text style in the Rad
Declaration
public ICommand ToggleSubscriptCommand { get; }
Property Value
System.
|
ToggleSuperscriptCommand
Gets a command to toggle the superscript text style in the Rad
Declaration
public ICommand ToggleSuperscriptCommand { get; }
Property Value
System.
|
ToggleUnderlineCommand
Gets a command to toggle the underline text style in the Rad
Declaration
public ICommand ToggleUnderlineCommand { get; }
Property Value
System.
|
UndoCommand
Gets a command to undo the last changes in the Rad
Declaration
public ICommand UndoCommand { get; }
Property Value
System.
|
Methods
GetHtmlAsync()
Gets asynchronously the currently edited content of the Rad
Declaration
public Task<string> GetHtmlAsync()
Returns
System. System.Threading.Tasks.Task<> with the currently edited content as HTML. |
GetHyperlinkAsync()
Gets asynchronously the hyperlink under the caret in the Rad
Declaration
public Task<RichTextHyperlink> GetHyperlinkAsync()
Returns
System. An instance of the Rich |
GetImageAsync()
Gets asynchronously the currently selected image in the Rad
Declaration
public Task<RichTextImage> GetImageAsync()
Returns
System. An instance of the Rich |
GetSelectionAsync()
Gets asynchronously the current text selection in the Rad
Declaration
public Task<RichTextSelection> GetSelectionAsync()
Returns
System. An instance of the Rich |
OnPropertyChanged(String)
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.
|
Events
FontAttributesChanged
Raised when the Font
Declaration
public event EventHandler<ValueChangedEventArgs<RichTextFontAttributes>> FontAttributesChanged
Event Type
System.
|
FontFamilyChanged
Raised when the Font
Declaration
public event EventHandler<ValueChangedEventArgs<string>> FontFamilyChanged
Event Type
System.
|
FontSizeChanged
Raised when the Font
Declaration
public event EventHandler<ValueChangedEventArgs<RichTextUnit>> FontSizeChanged
Event Type
System.
|
HighlightTextColorChanged
Raised when the Highlight
Declaration
public event EventHandler<ValueChangedEventArgs<Color>> HighlightTextColorChanged
Event Type
System.
|
HorizontalTextAlignmentChanged
Raised when the Horizontal
Declaration
public event EventHandler<ValueChangedEventArgs<RichTextHorizontalAlignment>> HorizontalTextAlignmentChanged
Event Type
System.
|
InsertImageError
Raised when an error occurs when inserting an image in the Rad
Declaration
public event EventHandler<InsertImageErrorEventArgs> InsertImageError
Event Type
System.
|
IsHyperlinkSelectedChanged
Raised when the Is
Declaration
public event EventHandler<ValueChangedEventArgs<bool>> IsHyperlinkSelectedChanged
Event Type
System.
|
IsImageSelectedChanged
Raised when the Is
Declaration
public event EventHandler<ValueChangedEventArgs<bool>> IsImageSelectedChanged
Event Type
System.
|
IsReadOnlyChanged
Raised when the Is
Declaration
public event EventHandler<ValueChangedEventArgs<bool>> IsReadOnlyChanged
Event Type
System.
|
ListTypeChanged
Raised when the List
Declaration
public event EventHandler<ValueChangedEventArgs<RichTextListType>> ListTypeChanged
Event Type
System.
|
OpenHyperlinkError
Raised when an error occurs when openning a hyperlink in the Rad
Declaration
public event EventHandler<OpenHyperlinkErrorEventArgs> OpenHyperlinkError
Event Type
System.
|
PickImage
Raised when the user has requested to pick an image in the Rad
Declaration
public event EventHandler<PickImageEventArgs> PickImage
Event Type
System.
|
SelectionRangeChanged
Raised when the Selection
Declaration
public event EventHandler<ValueChangedEventArgs<RichTextSelectionRange>> SelectionRangeChanged
Event Type
System.
|
TextColorChanged
Raised when the Text
Declaration
public event EventHandler<ValueChangedEventArgs<Color>> TextColorChanged
Event Type
System.
|
TextDecorationsChanged
Raised when the Text
Declaration
public event EventHandler<ValueChangedEventArgs<RichTextDecorations>> TextDecorationsChanged
Event Type
System.
|
TextFormattingChanged
Raised when the Text
Declaration
public event EventHandler<ValueChangedEventArgs<RichTextFormatting>> TextFormattingChanged
Event Type
System.
|