New to Telerik UI for WinFormsStart a free 30-day trial

Represents a text editor for in-place editing of page view item text.

Definition

Constructors

Initializes a new instance of the RadPageViewElement.PageViewItemTextEditor class.

C#
public PageViewItemTextEditor(RadPageViewElement owner)
Parameters:ownerRadPageViewElement

The RadPageViewElement that owns this editor.

Properties

Gets the data type that this editor supports.

C#
public override Type DataType { get; }

Overrides: BaseInputEditor.DataType

Gets or sets the current value of the editor.

C#
public override object Value { get; set; }

Overrides: BaseInputEditor.Value

Methods

Begins the editing operation.

C#
public override void BeginEdit()

Overrides: BaseInputEditor.BeginEdit()

Creates the editor element that will be used for text editing.

C#
protected override RadElement CreateEditorElement()
Returns:

RadElement

A new RadElement instance for editing.

Overrides: BaseInputEditor.CreateEditorElement()

Ends the editing operation and cleans up resources.

C#
public override bool EndEdit()
Returns:

bool

true if the operation completed successfully; otherwise, false.

Overrides: BaseInputEditor.EndEdit()

Initializes the editor with the specified owner and initial value.

C#
public override void Initialize(object owner, object value)
Parameters:ownerobject

The object that owns this editor.

valueobject

The initial value for the editor.

Overrides: BaseInputEditor.Initialize(object, object)

Validates the current editor value.

C#
public override bool Validate()
Returns:

bool

true if the value is valid; otherwise, false.

Overrides: BaseInputEditor.Validate()