ClassRadTextBoxEditor
Represents a textbox editor in RadGridView.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
[TelerikToolboxCategory("Editors")]
public class RadTextBoxEditor : BaseGridEditor, IInputEditor, IValueEditor, ISupportInitialize
Inheritance: objectBaseInputEditorBaseGridEditorRadTextBoxEditor
Implements:
Inherited Members
Constructors
RadTextBoxEditor()
Initializes a new instance of the RadTextBoxEditor class.
Declaration
public RadTextBoxEditor()
Properties
AcceptsReturn
Gets or sets whether the editor accepts the tab 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
ClearCellText
Gets a value indicating whether the cell should clear its text when adding an editor.
Declaration
public override bool ClearCellText { get; }
Property Value
Overrides
DataType
Gets the type of the editor value
IsModified
Gets a value indicating whether the editor value is modified.
Declaration
public override bool IsModified { get; }
Property Value
Overrides
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
NullValue
Gets or sets the null value for the editor.
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.
Initialize(object, object)
Initializes the editor. Used internally in RadGridView.
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.