Class
RadEditor

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:

cs-api-definition
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

RadEditor()

Declaration

cs-api-definition
public RadEditor()

Fields

AutoSizeProperty

Identifies the AutoSize property.

Declaration

cs-api-definition
public static readonly BindableProperty AutoSizeProperty

Field Value

BindableProperty

MaxLinesProperty

Identifies the MaxLines property.

Declaration

cs-api-definition
public static readonly BindableProperty MaxLinesProperty

Field Value

BindableProperty

Properties

AutoSize

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

Declaration

cs-api-definition
public EditorAutoSizeOption AutoSize { get; set; }

Property Value

EditorAutoSizeOption

Remarks

Automatic resizing is turned off by default.

MaxLines

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

Declaration

cs-api-definition
public int MaxLines { get; set; }

Property Value

int

Methods

CreateDefaultHorizontalTextAlignment()

Creates the default horizontal text alignment for the control.

Declaration

cs-api-definition
protected override object CreateDefaultHorizontalTextAlignment()

Returns

object

Overrides RadInputView.CreateDefaultHorizontalTextAlignment()

CreateDefaultPadding()

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

Declaration

cs-api-definition
protected override object CreateDefaultPadding()

Returns

object

Overrides RadInputView.CreateDefaultPadding()

CreateDefaultVerticalTextAlignment()

Creates the default vertical text alignment for the control.

Declaration

cs-api-definition
protected override object CreateDefaultVerticalTextAlignment()

Returns

object

Overrides RadInputView.CreateDefaultVerticalTextAlignment()

GetDefaultTextInputStyle()

Gets the default text input style for the control.

Declaration

cs-api-definition
protected override Style GetDefaultTextInputStyle()

Returns

Style

Overrides RadInputView.GetDefaultTextInputStyle()

OnApplyTemplate()

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

Declaration

cs-api-definition
protected override void OnApplyTemplate()

Overrides RadCompositeContentView.OnApplyTemplate()