Class
RadPageViewElement.PageViewItemTextEditor

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

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class RadPageViewElement.PageViewItemTextEditor : BaseInputEditor, IInputEditor, IValueEditor, ISupportInitialize

Inheritance: objectBaseInputEditorRadPageViewElement.PageViewItemTextEditor

Implements: IInputEditorISupportInitializeIValueEditor

Inherited Members BaseInputEditor.isInitializingBaseInputEditor.originalValueBaseInputEditor.BeginInit()BaseInputEditor.EndInit()BaseInputEditor.OnValueChanging(ValueChangingEventArgs)BaseInputEditor.OnValueChanged()BaseInputEditor.OnValidating(CancelEventArgs)BaseInputEditor.OnValidated()BaseInputEditor.OnValidationError(ValidationErrorEventArgs)BaseInputEditor.IsActiveBaseInputEditor.IsInitalizingBaseInputEditor.IsInBeginEditModeBaseInputEditor.OwnerElementBaseInputEditor.RightToLeftBaseInputEditor.EditorManagerBaseInputEditor.IsModifiedBaseInputEditor.EditorElementBaseInputEditor.ValueChangingBaseInputEditor.ValueChangedBaseInputEditor.ValidatingBaseInputEditor.ValidatedBaseInputEditor.ValidationError

Constructors

PageViewItemTextEditor(RadPageViewElement)

Initializes a new instance of the RadPageViewElement.PageViewItemTextEditor class.

Declaration

cs-api-definition
public PageViewItemTextEditor(RadPageViewElement owner)

Parameters

owner

RadPageViewElement

The RadPageViewElement that owns this editor.

Properties

DataType

Gets the data type that this editor supports.

Declaration

cs-api-definition
public override Type DataType { get; }

Property Value

Type

Overrides BaseInputEditor.DataType

Value

Gets or sets the current value of the editor.

Declaration

cs-api-definition
public override object Value { get; set; }

Property Value

object

Overrides BaseInputEditor.Value

Methods

BeginEdit()

Begins the editing operation.

Declaration

cs-api-definition
public override void BeginEdit()

Overrides BaseInputEditor.BeginEdit()

CreateEditorElement()

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

Declaration

cs-api-definition
protected override RadElement CreateEditorElement()

Returns

RadElement

A new RadElement instance for editing.

Overrides BaseInputEditor.CreateEditorElement()

EndEdit()

Ends the editing operation and cleans up resources.

Declaration

cs-api-definition
public override bool EndEdit()

Returns

bool

true if the operation completed successfully; otherwise, false.

Overrides BaseInputEditor.EndEdit()

Initialize(object, object)

Initializes the editor with the specified owner and initial value.

Declaration

cs-api-definition
public override void Initialize(object owner, object value)

Parameters

owner

object

The object that owns this editor.

value

object

The initial value for the editor.

Overrides BaseInputEditor.Initialize(object, object)

Validate()

Validates the current editor value.

Declaration

cs-api-definition
public override bool Validate()

Returns

bool

true if the value is valid; otherwise, false.

Overrides BaseInputEditor.Validate()