skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class BaseInputEditor

Abstract class that represents basic logic for editor

Inheritance
System.Object
BaseInputEditor
BaseBrowseEditor
BaseColorEditor
BaseDateTimeEditor
BaseDropDownListEditor
BaseGridEditor
BaseSpinEditor
BaseTextBoxControlEditor
BaseTextBoxEditor
BaseTimePickerEditor
BaseTimeSpanPickerEditor
BaseVirtualGridEditor
DataFilterCheckboxEditor
PropertyGridUITypeEditor
RadPageViewElement.PageViewItemTextEditor
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll

Syntax

public abstract class BaseInputEditor : IInputEditor, IValueEditor, ISupportInitialize

Constructors

BaseInputEditor()

Declaration
protected BaseInputEditor()

Fields

isInitializing

Declaration
protected bool isInitializing
Field Value
System.Boolean

originalValue

Declaration
protected object originalValue
Field Value
System.Object

Properties

DataType

Gets the type of the editor value

Declaration
public abstract Type DataType { get; }
Property Value
System.Type

EditorElement

Gets the RadElement associated with this editor.

Declaration
public virtual RadElement EditorElement { get; }
Property Value
RadElement

EditorManager

Declaration
public IEditorManager EditorManager { get; set; }
Property Value
IEditorManager

Implements
IInputEditor.EditorManager

IsActive

Gets a value indicating whether this is the active editor in grid.

Declaration
public bool IsActive { get; }
Property Value
System.Boolean

IsInBeginEditMode

Gets a value indicating whether the editor is in BeginMode mode.

Declaration
public bool IsInBeginEditMode { get; }
Property Value
System.Boolean

IsInitalizing

Gets a value indicating whether the editor is initializing.

Declaration
public bool IsInitalizing { get; }
Property Value
System.Boolean

IsModified

Gets a value indicating whether the editor value is modified.

Declaration
public virtual bool IsModified { get; }
Property Value
System.Boolean

Implements
IInputEditor.IsModified

OwnerElement

Gets the element that owns this editor.

Declaration
public RadElement OwnerElement { get; protected set; }
Property Value
RadElement

RightToLeft

Gets a value indicating whether the editor is in RightToLeft mode.

Declaration
public bool RightToLeft { get; }
Property Value
System.Boolean

Value

Gets or sets the editor value.

Declaration
public virtual object Value { get; set; }
Property Value
System.Object

Implements
IValueEditor.Value

Methods

BeginEdit()

Starts the editing process. Used internally in RadGridView.

Declaration
public virtual void BeginEdit()
Implements
IValueEditor.BeginEdit()

BeginInit()

Begins the editor initialization process.

Declaration
public void BeginInit()

CreateEditorElement()

Creates a new editor element.

Declaration
protected abstract RadElement CreateEditorElement()
Returns
RadElement

a RadElement if successful

EndEdit()

Finishes the editing process. Used internally in RadGridView.

Declaration
public virtual bool EndEdit()
Returns
System.Boolean

Implements
IValueEditor.EndEdit()

EndInit()

Finishes the editor initialization process.

Declaration
public void EndInit()

Initialize(Object, Object)

Initializes the editor. Used internally in RadGridView.

Declaration
public virtual void Initialize(object owner, object value)
Parameters
System.Object owner

The owner of this editor.

System.Object value

The value of the editor.

Implements
IValueEditor.Initialize(Object, Object)

OnValidated()

Fires the Validated event.

Declaration
public virtual void OnValidated()

OnValidating(CancelEventArgs)

Fires the Validating event.

Declaration
public virtual void OnValidating(CancelEventArgs e)
Parameters
System.ComponentModel.CancelEventArgs e

A System.ComponentModel.CancelEventArgs that contains the event data.

OnValidationError(ValidationErrorEventArgs)

Fires the ValidationError event.

Declaration
public virtual void OnValidationError(ValidationErrorEventArgs args)
Parameters
ValidationErrorEventArgs args

OnValueChanged()

Fires the ValueChanged event.

Declaration
public virtual void OnValueChanged()

OnValueChanging(ValueChangingEventArgs)

Fires the ValueChanging event.

Declaration
public virtual void OnValueChanging(ValueChangingEventArgs e)
Parameters
ValueChangingEventArgs e

A ValueChangingEventArgs that contains the event data.

SetIsInBeginEditMode(Boolean)

Sets the IsInBeginEditMode property. This method is used internally.

Declaration
public void SetIsInBeginEditMode(bool value)
Parameters
System.Boolean value

The new value of the IsInBeginEditMode property

Validate()

Validates the value currently entered in the editor.

Declaration
public virtual bool Validate()
Returns
System.Boolean

Implements
IValueEditor.Validate()

Events

Validated

Fires when the editor has finished validating.

Declaration
public event EventHandler Validated
Event Type
System.EventHandler

Implements
IValueEditor.Validated

Validating

Fires when the editor is validating.

Declaration
public event CancelEventHandler Validating
Event Type
System.ComponentModel.CancelEventHandler

Implements
IValueEditor.Validating

ValidationError

Fires when a validation error is occurred.

Declaration
public event ValidationErrorEventHandler ValidationError
Event Type
ValidationErrorEventHandler

Implements
IValueEditor.ValidationError

ValueChanged

Fires when the editor value has been changed.

Declaration
public event EventHandler ValueChanged
Event Type
System.EventHandler

Implements
IValueEditor.ValueChanged

ValueChanging

Fires when changing the value of the editor.

Declaration
public event ValueChangingEventHandler ValueChanging
Event Type
ValueChangingEventHandler

Implements
IValueEditor.ValueChanging

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.