ClassCellEditorBase
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
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
The command descriptors.
Implements
Commands
Gets the commands.
Declaration
public CellEditorCommands Commands { get; }
Property Value
The commands.
Methods
Focus()
Focuses this instance.
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
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 . 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 event occurs.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
e
KeyEventArgs
The data for the event.
OnTextChanged()
Called when the text is changed.
Declaration
protected virtual void OnTextChanged()
SelectAll()
Selects the entire contents.
Declaration
public void SelectAll()
Implements
Events
SelectionChanged
Occurs when the selection is changed.
Declaration
public event EventHandler SelectionChanged
Event Value
Implements
TextChanged
Occurs when text content changes.
Declaration
public event EventHandler TextChanged
Event Value
Implements