CellEditorBase
Provides the base class from which the classes that represent cell editors are derived.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Worksheets
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class CellEditorBase : ContentControl, ICellEditor, ICommandDescriptorsProvider
Inheritance: objectCellEditorBase
Derived Classes:
Implements:
Constructors
Initializes a new instance of the CellEditorBase class.
public CellEditorBase()
Properties
Gets the command descriptors.
public CommandDescriptors CommandDescriptors { get; }
The command descriptors.
Implements:
Gets the commands.
public CellEditorCommands Commands { get; }
The commands.
Methods
Copies the selected text.
public void Copy()
Cuts the selected text.
public void Cut()
Inserts the specified text at the current caret position. The caret position moves after the inserted text.
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
public override void OnApplyTemplate()
Called before the event occurs.
protected override void OnKeyDown(KeyEventArgs e)
The data for the event.
Called when the text is changed.
protected virtual void OnTextChanged()
Pastes the copied text.
public void Paste()
Selects the entire contents.
public void SelectAll()
Implements:
Events
Occurs when the selection is changed.
public event EventHandler SelectionChanged
Implements:
Occurs when text content changes.
public event EventHandler TextChanged
Implements: