Class RadTextBoxEditor
Represents a textbox editor in RadGridView.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
[TelerikToolboxCategory("Editors")]
public class RadTextBoxEditor : BaseGridEditor, IInputEditor, IValueEditor, ISupportInitialize
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
Declaration
public bool AcceptsReturn { get; set; }
Property Value
System.Boolean
|
AcceptsTab
Gets or sets whether the editor accepts the tab key in multiline mode
Declaration
public bool AcceptsTab { get; set; }
Property Value
System.Boolean
|
CharacterCasing
Indicates if all characters should be left alone or converted to upper or lower case
Declaration
public CharacterCasing CharacterCasing { get; set; }
Property Value
System.Windows.Forms.CharacterCasing
|
ClearCellText
Gets a value indicating whether the cell should clear its text when adding an editor.
Declaration
public override bool ClearCellText { get; }
Property Value
System.Boolean
|
Overrides
DataType
Gets the type of the editor value
Declaration
public override Type DataType { get; }
Property Value
System.Type
|
Overrides
IsModified
Gets a value indicating whether the editor value is modified.
Declaration
public override bool IsModified { get; }
Property Value
System.Boolean
|
Overrides
MaxLength
Specifies the maximum length of characters which could be entered
Declaration
public int MaxLength { get; set; }
Property Value
System.Int32
|
Multiline
The text could span more than a line when the value is true
Declaration
public bool Multiline { get; set; }
Property Value
System.Boolean
|
NullValue
Gets or sets the null value for the editor.
Declaration
public string NullValue { get; set; }
Property Value
System.String
|
Value
Gets or sets the value.
Declaration
public override object Value { get; set; }
Property Value
System.Object
The value. |
Overrides
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
RadElement
a RadElement if successful |
Overrides
EndEdit()
Ends the edit operation.
Declaration
public override bool EndEdit()
Returns
System.Boolean
|
Overrides
Initialize(Object, Object)
Initializes the editor. Used internally in RadGridView.
Declaration
public override void Initialize(object owner, object value)
Parameters
System.Object
owner
The owner of this editor. |
System.Object
value
The value of the editor. |
Overrides
OnKeyDown(KeyEventArgs)
Translates system key down events to the owner element.
Declaration
public override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
Overrides
OnKeyUp(KeyEventArgs)
Handles the key up events in the editor.
Declaration
protected virtual void OnKeyUp(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
A System.Windows.Forms.KeyEventArgs that contains the event data. |