skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    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 CellEditorBase

Provides the base class from which the classes that represent cell editors are derived.

Inheritance
System.Object
CellEditorBase
FormulaBarFunctionEditor
CellEditor
Namespace: Telerik.Windows.Controls.Spreadsheet.Worksheets
Assembly: Telerik.Windows.Controls.Spreadsheet.dll

Syntax

public class CellEditorBase : ContentControl, ICellEditor, ICommandDescriptorsProvider

Constructors

CellEditorBase()

Initializes a new instance of the CellEditorBase class.

Declaration
public CellEditorBase()

Properties

CommandDescriptors

Gets the command descriptors.

Declaration
public CommandDescriptors CommandDescriptors { get; }
Property Value
CommandDescriptors

The command descriptors.

Implements
ICommandDescriptorsProvider.CommandDescriptors

Commands

Gets the commands.

Declaration
public CellEditorCommands Commands { get; }
Property Value
CellEditorCommands

The commands.

Text

Gets or sets the text.

Declaration
public string Text { get; set; }
Property Value
System.String

The text value.

Implements
ICellEditor.Text

Methods

Copy()

Copies the selected text.

Declaration
public void Copy()

Cut()

Cuts the selected text.

Declaration
public void Cut()

Focus()

Focuses this instance.

Declaration
public bool Focus()
Returns
System.Boolean

True if succeed.

Implements
ICellEditor.Focus()

Insert(String)

Inserts the specified text at the current caret position. The caret position moves after the inserted text.

Declaration
public void Insert(string text)
Parameters
System.String text

The text to be inserted.

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

Declaration
public override void OnApplyTemplate()

OnKeyDown(KeyEventArgs)

Called before the System.Windows.UIElement.KeyDown event occurs.

Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Input.KeyEventArgs e

The data for the event.

OnTextChanged()

Called when the text is changed.

Declaration
protected virtual void OnTextChanged()

Paste()

Pastes the copied text.

Declaration
public void Paste()

SelectAll()

Selects the entire contents.

Declaration
public void SelectAll()
Implements
ICellEditor.SelectAll()

Events

SelectionChanged

Occurs when the selection is changed.

Declaration
public event EventHandler SelectionChanged
Event Type
System.EventHandler

Implements
ICellEditor.SelectionChanged

TextChanged

Occurs when text content changes.

Declaration
public event EventHandler TextChanged
Event Type
System.EventHandler

Implements
ICellEditor.TextChanged

Explicit Interface Implementations

ICellEditor.add_LostFocus(RoutedEventHandler)

Declaration
void ICellEditor.add_LostFocus(RoutedEventHandler value)
Parameters
System.Windows.RoutedEventHandler value

Implements
Telerik.Windows.Controls.Spreadsheet.Worksheets.ICellEditor.add_LostFocus(System.Windows.RoutedEventHandler)

ICellEditor.remove_LostFocus(RoutedEventHandler)

Declaration
void ICellEditor.remove_LostFocus(RoutedEventHandler value)
Parameters
System.Windows.RoutedEventHandler value

Implements
Telerik.Windows.Controls.Spreadsheet.Worksheets.ICellEditor.remove_LostFocus(System.Windows.RoutedEventHandler)

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML 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.