Class CellEditorBase
Provides the base class from which the classes that represent cell editors are derived.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Worksheets
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class CellEditorBase : UIElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, ICellEditor, ICommandDescriptorsProvider
Constructors
CellEditorBase()
Properties
Background
Gets or sets the MaxHeight.
Declaration
public virtual Brush Background { get; set; }
Property Value
System. The MaxHeight value. |
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. |
Height
Gets or sets the Height.
Declaration
public virtual int Height { get; set; }
Property Value
System. The Height value. |
MaxHeight
Gets or sets the MaxHeight.
Declaration
public virtual int MaxHeight { get; set; }
Property Value
System. The MaxHeight value. |
MaxWidth
Gets or sets the MaxHeight.
Declaration
public virtual int MaxWidth { get; set; }
Property Value
System. The MaxHeight value. |
Text
Gets or sets the text.
Declaration
public override string Text { get; set; }
Property Value
System. The text value. |
Overrides
Implements
TextBox
Declaration
public RichTextBox TextBox { get; }
Property Value
System.
|
Width
Gets or sets the Width.
Declaration
public virtual int Width { get; set; }
Property Value
System. The Width value. |
Methods
Copy()
Copies the selected text.
Declaration
public void Copy()
CreateChildElements()
When overridden in a derived class, is invoked whenever application
code or internal processes (such as a rebuilding layout pass) call System.
Declaration
protected override void CreateChildElements()
Overrides
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. |
OnKeyDown(KeyEventArgs)
Called before the System.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System. The data for the event. |
Overrides
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.LostFocus
Declaration
event EventHandler ICellEditor.LostFocus
Returns
System.
|