ClassRadTextBoxControlEditor
Represents a textbox editor in RadGridView.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
[TelerikToolboxCategory("Editors")]
public class RadTextBoxControlEditor : BaseGridEditor, IInputEditor, IValueEditor, ISupportInitialize
Inheritance: objectBaseInputEditorBaseGridEditorRadTextBoxControlEditor
Derived Classes:
Implements:
Inherited Members
Constructors
RadTextBoxControlEditor()
Initializes a new instance of the RadTextBoxControlEditor class.
Declaration
public RadTextBoxControlEditor()
Properties
AcceptsReturn
Gets or sets whether the editor accepts the Enter key in multiline mode
AcceptsTab
Gets or sets whether the editor accepts the Tab key in multiline mode
CharacterCasing
Indicates if all characters should be left alone or converted to upper or lower case
Declaration
public CharacterCasing CharacterCasing { get; set; }
Property Value
DataType
Gets the type of the editor value
MaxLength
Specifies the maximum length of characters which could be entered
Multiline
The text could span more than a line when the value is true
NullText
Gets or sets the null value for the editor.
TextBox
Gets the text box.
Declaration
protected RadTextBoxControlElement TextBox { get; }
Property Value
The text box.
Methods
BeginEdit()
Starts the editing process. Used internally in RadGridView.
Declaration
public override void BeginEdit()
Overrides
CreateEditorElement()
Creates a new editor element.
Declaration
protected override RadElement CreateEditorElement()
Returns
a RadElement if successful
Overrides
EndEdit()
Ends the edit operation.
OnKeyDown(KeyEventArgs)
Translates system key down events to the owner element.
Declaration
public override void OnKeyDown(KeyEventArgs e)
Parameters
e
Overrides
OnKeyUp(KeyEventArgs)
Handles the key up events in the editor.
Declaration
protected virtual void OnKeyUp(KeyEventArgs e)
Parameters
e
A System.Windows.Forms.KeyEventArgs that contains the event data.