Class CellEditorBase
Provides the base class from which the classes that represent cell editors are derived.
Inheritance
Namespace: Telerik.Windows.Controls.Spreadsheet.Worksheets
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class CellEditorBase : ContentControl, ICellEditor, ICommandDescriptorsProvider
Constructors
CellEditorBase()
Properties
CommandDescriptors
Gets the command descriptors.
Declaration
public CommandDescriptors CommandDescriptors { get; }
Property Value
Command The command descriptors. |
Implements
Commands
Gets the commands.
Declaration
public CellEditorCommands Commands { get; }
Property Value
Cell The commands. |
Text
Gets or sets the text.
Declaration
public string Text { get; set; }
Property Value
System. The text value. |
Implements
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.
|
Implements
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. 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.
Declaration
public override void OnApplyTemplate()
OnKeyDown(KeyEventArgs)
Called before the System.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System. 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()
Events
SelectionChanged
Occurs when the selection is changed.
Declaration
public event EventHandler SelectionChanged
Event Type
System.
|
Implements
TextChanged
Occurs when text content changes.
Declaration
public event EventHandler TextChanged
Event Type
System.
|
Implements
Explicit Interface Implementations
ICellEditor.add_LostFocus(RoutedEventHandler)
Declaration
void ICellEditor.add_LostFocus(RoutedEventHandler value)
Parameters
System.
|
Implements
ICellEditor.remove_LostFocus(RoutedEventHandler)
Declaration
void ICellEditor.remove_LostFocus(RoutedEventHandler value)
Parameters
System.
|