CellEditorBase
Provides the base class from which the classes that represent cell editors are derived.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Worksheets
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public class CellEditorBase : UIElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, ICellEditor, ICommandDescriptorsProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIElementCellEditorBase...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the CellEditorBase class.
public CellEditorBase()
Properties
Gets or sets the MaxHeight.
public virtual Brush Background { get; set; }
The MaxHeight value.
Gets the command descriptors.
public CommandDescriptors CommandDescriptors { get; }
The command descriptors.
Implements:
Gets the commands.
public CellEditorCommands Commands { get; }
The commands.
Gets or sets the Height.
public virtual int Height { get; set; }
The Height value.
Gets or sets the MaxHeight.
public virtual int MaxHeight { get; set; }
The MaxHeight value.
Gets or sets the MaxHeight.
public virtual int MaxWidth { get; set; }
The MaxHeight value.
Gets or sets the text.
public override string Text { get; set; }
The text value.
Overrides:
Implements:
public RichTextBox TextBox { get; }
Methods
Copies the selected text.
public void Copy()
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.
protected override void CreateChildElements()
Overrides:
Cuts the selected text.
public void Cut()
Inserts the specified text at the current caret position. The caret position moves after the inserted text.
Called before the KeyDown event occurs.
protected override void OnKeyDown(KeyEventArgs e)
The data for the event.
Overrides:
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: