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

RadEditor is a multiline text input control that allows users to enter, edit, and navigate through large blocks of text.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class RadEditor : RadInputView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadCompositeContentViewRadInputViewRadEditor

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView...

Inherited Members RadInputView.BorderBrushPropertyRadInputView.BorderThicknessPropertyRadInputView.CornerRadiusPropertyRadInputView.BackgroundColorPropertyRadInputView.BackgroundPropertyRadInputView.TextPropertyRadInputView.SelectionOnFocusPropertyRadInputView.HorizontalTextAlignmentPropertyRadInputView.VerticalTextAlignmentPropertyRadInputView.KeyboardPropertyRadInputView.IsSpellCheckEnabledPropertyRadInputView.IsTextPredictionEnabledPropertyRadInputView.IsReadOnlyPropertyRadInputView.TextColorPropertyRadInputView.CharacterSpacingPropertyRadInputView.TextTransformPropertyRadInputView.CursorPositionPropertyRadInputView.SelectionLengthPropertyRadInputView.FontAttributesPropertyRadInputView.FontFamilyPropertyRadInputView.FontSizePropertyRadInputView.FontAutoScalingEnabledPropertyRadInputView.IsValueValidPropertyRadInputView.ValidationErrorMessagePropertyRadInputView.ValidationErrorColorPropertyRadInputView.ValidationErrorImageStylePropertyRadInputView.ValidationErrorLabelStylePropertyRadInputView.ReserveSpaceForErrorViewPropertyRadInputView.ClearButtonVisibilityPropertyRadInputView.ClearButtonStylePropertyRadInputView.MaxLengthPropertyRadInputView.PlaceholderPropertyRadInputView.PlaceholderColorPropertyRadInputView.PaddingPropertyRadInputView.MouseOverStateRadInputView.ReadOnlyStateRadInputView.ReadOnlyInvalidFocusedStateRadInputView.ReadOnlyFocusedStateRadInputView.ReadOnlyInvalidStateRadInputView.InvalidStateRadInputView.InvalidFocusedStateRadInputView.ChangeVisualState()RadInputView.BorderBrushRadInputView.BorderThicknessRadInputView.CornerRadiusRadInputView.BackgroundColorRadInputView.BackgroundRadInputView.TextRadInputView.SelectionOnFocusRadInputView.HorizontalTextAlignmentRadInputView.VerticalTextAlignmentRadInputView.KeyboardRadInputView.IsSpellCheckEnabledRadInputView.IsTextPredictionEnabledRadInputView.IsReadOnlyRadInputView.TextColorRadInputView.CharacterSpacingRadInputView.TextTransformRadInputView.CursorPositionRadInputView.SelectionLengthRadInputView.FontAttributesRadInputView.FontFamilyRadInputView.FontSizeRadInputView.FontAutoScalingEnabledRadInputView.IsValueValidRadInputView.ValidationErrorMessageRadInputView.ValidationErrorColorRadInputView.ValidationErrorImageStyleRadInputView.ValidationErrorLabelStyleRadInputView.ReserveSpaceForErrorViewRadInputView.ClearButtonVisibilityRadInputView.ClearButtonStyleRadInputView.MaxLengthRadInputView.PlaceholderRadInputView.PlaceholderColorRadInputView.PaddingRadInputView.TextChangingRadInputView.TextChangedRadInputView.CompletedRadCompositeContentView.StylePropertyRadCompositeContentView.ControlTemplatePropertyRadCompositeContentView.OnBindingContextChanged()RadCompositeContentView.OnPropertyChanged(string)RadCompositeContentView.StyleRadCompositeContentView.ControlTemplateRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnHandlerChanged()...

Constructors

C#
public RadEditor()

Fields

AutoSizeProperty

BindableProperty

Identifies the AutoSize property.

C#
public static readonly BindableProperty AutoSizeProperty

MaxLinesProperty

BindableProperty

Identifies the MaxLines property.

C#
public static readonly BindableProperty MaxLinesProperty

Properties

AutoSize

EditorAutoSizeOption

Gets or sets a value that controls whether the editor will change size to accommodate input as the user enters it.

C#
public EditorAutoSizeOption AutoSize { get; set; }
Remarks:

Automatic resizing is turned off by default.

Gets or sets the maximum number of lines to display before the control stops growing. When set to 0 (default), there is no limit.

C#
public int MaxLines { get; set; }

Methods

Creates the default horizontal text alignment for the control.

C#
protected override object CreateDefaultHorizontalTextAlignment()
Returns:

object

Overrides: RadInputView.CreateDefaultHorizontalTextAlignment()

Creates the default padding for the control based on the platform.

C#
protected override object CreateDefaultPadding()
Returns:

object

Overrides: RadInputView.CreateDefaultPadding()

Creates the default vertical text alignment for the control.

C#
protected override object CreateDefaultVerticalTextAlignment()
Returns:

object

Overrides: RadInputView.CreateDefaultVerticalTextAlignment()

Gets the default text input style for the control.

C#
protected override Style GetDefaultTextInputStyle()
Returns:

Style

Overrides: RadInputView.GetDefaultTextInputStyle()

Called when the control template is applied. Initializes the from the template.

C#
protected override void OnApplyTemplate()

Overrides: RadCompositeContentView.OnApplyTemplate()