Class GridRowBehavior
Represents grid row behavior for managing keyboard and mouse input.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridRowBehavior : GridBehaviorImpl, IGridBehavior, IDisposable
Constructors
GridRowBehavior()
Properties
BeginEditMode
Gets the begin edit mode.
Declaration
protected RadGridViewBeginEditMode BeginEditMode { get; }
Property Value
Rad The begin edit mode. |
EditorManager
Gets the Rad
Declaration
protected GridViewEditManager EditorManager { get; }
Property Value
Grid The editor manager. |
IsInEditMode
Gets a value indicating whether the grid is in edit mode.
Declaration
protected bool IsInEditMode { get; }
Property Value
System.
|
IsPressedControl
Gets a value indicating whether this instance is pressed control.
Declaration
protected bool IsPressedControl { get; }
Property Value
System.
|
IsPressedShift
Gets a value indicating whether this instance is pressed shift.
Declaration
protected bool IsPressedShift { get; }
Property Value
System.
|
MasterTemplate
Gets the root template.
Declaration
protected MasterGridViewTemplate MasterTemplate { get; }
Property Value
Master The root template. |
MouseDownLocation
Gets the mouse down location.
Declaration
protected Point MouseDownLocation { get; }
Property Value
System. The mouse down location. |
Navigator
RootGridBehavior
Gets the root grid behavior.
Declaration
protected BaseGridBehavior RootGridBehavior { get; }
Property Value
Base The root grid behavior. |
RowToResize
Gets the row to resize.
Declaration
protected GridRowElement RowToResize { get; }
Property Value
Grid The row to resize. |
RowToResizeInitialHeight
Gets the initial height of the row to resize.
Declaration
protected int RowToResizeInitialHeight { get; }
Property Value
System. The initial height of the row to resize. |
Methods
CanEnterEditMode(GridViewRowInfo)
Determines whether this instance [can enter edit mode] the specified row info.
Declaration
protected virtual bool CanEnterEditMode(GridViewRowInfo rowInfo)
Parameters
Grid The row info. |
Returns
System.
|
CanResizeRow(Point, GridRowElement)
Determines whether this instance [can resize row] the specified current location.
Declaration
public virtual bool CanResizeRow(Point currentLocation, GridRowElement rowElement)
Parameters
System. The current location. |
Grid The row element. |
Returns
System.
|
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Implements
GetCellAtPoint(Point)
Gets the cell at point.
Declaration
protected GridCellElement GetCellAtPoint(Point point)
Parameters
System. The point. |
Returns
GetExpanderPrimitive(Point)
Gets the expander primitive.
Declaration
protected GridExpanderItem GetExpanderPrimitive(Point point)
Parameters
System. The point. |
Returns
GetKeyboardNavigationContext(KeyEventArgs)
GetMouseNavigationContext(MouseEventArgs)
GetRowAtPoint(Point)
Gets the row at point.
Declaration
protected GridRowElement GetRowAtPoint(Point point)
Parameters
System. The point. |
Returns
GetTableElementAtPoint(Point)
Gets the table element at point.
Declaration
protected GridTableElement GetTableElementAtPoint(Point point)
Parameters
System. The point. |
Returns
IsOnFirstCell()
Determines whether [is on first cell].
Declaration
protected bool IsOnFirstCell()
Returns
System.
|
IsOnLastCell()
Determines whether [is on last cell].
Declaration
protected bool IsOnLastCell()
Returns
System.
|
OnClick(EventArgs)
Occurs when the RadGridView is clicked.
Declaration
public override bool OnClick(EventArgs e)
Parameters
System. Type: System.EventArgs |
Returns
System. Returns true if the event is processed |
Overrides
OnContextMenu(MouseEventArgs)
Occurs when the context menu of the RadGridView needs to be shown
Declaration
public override bool OnContextMenu(MouseEventArgs e)
Parameters
System. The MouseEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
Overrides
OnDoubleClick(EventArgs)
Occurs when the RadGridView is double-clicked.
Declaration
public override bool OnDoubleClick(EventArgs e)
Parameters
System. Type: System.EventArgs |
Returns
System. Returns true if the event is processed |
Overrides
OnMouseDoubleClick(MouseEventArgs)
Raises the Mouse
Declaration
public override bool OnMouseDoubleClick(MouseEventArgs e)
Parameters
System. The System. |
Returns
System.
|
Overrides
OnMouseDown(MouseEventArgs)
Raises the Mouse
Declaration
public override bool OnMouseDown(MouseEventArgs e)
Parameters
System. The System. |
Returns
System.
|
Overrides
OnMouseDownLeft(MouseEventArgs)
Occurs when the mouse pointer is over the RadGridView and the left mouse button is pressed.
Declaration
protected virtual bool OnMouseDownLeft(MouseEventArgs e)
Parameters
System. The MouseEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
OnMouseDownRight(MouseEventArgs)
Occurs when the mouse pointer is over the RadGridView and the right mouse button is pressed.
Declaration
protected virtual bool OnMouseDownRight(MouseEventArgs e)
Parameters
System. The MouseEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
OnMouseEnter(EventArgs)
Raises the Mouse
Declaration
public override bool OnMouseEnter(EventArgs e)
Parameters
System. The System. |
Returns
System.
|
Overrides
OnMouseLeave(EventArgs)
Raises the Mouse
Declaration
public override bool OnMouseLeave(EventArgs e)
Parameters
System. The System. |
Returns
System.
|
Overrides
OnMouseMove(MouseEventArgs)
Occurs when the mouse pointer is moved over the RadGridView.
Declaration
public override bool OnMouseMove(MouseEventArgs e)
Parameters
System. The MouseEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
Overrides
OnMouseUp(MouseEventArgs)
Raises the Mouse
Declaration
public override bool OnMouseUp(MouseEventArgs e)
Parameters
System. The System. |
Returns
System.
|
Overrides
OnMouseUpLeft(MouseEventArgs)
Raises the Mouse
Declaration
protected virtual bool OnMouseUpLeft(MouseEventArgs e)
Parameters
System. The System. |
Returns
System.
|
OnMouseUpRight(MouseEventArgs)
Raises the Mouse
Declaration
protected virtual bool OnMouseUpRight(MouseEventArgs e)
Parameters
System. The System. |
Returns
System.
|
OnMouseWheel(MouseEventArgs)
Raises the Mouse
Declaration
public override bool OnMouseWheel(MouseEventArgs e)
Parameters
System. The System. |
Returns
System.
|
Overrides
ProcessAddKey(KeyEventArgs)
Processes the Add key
Declaration
protected virtual bool ProcessAddKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessAlphaNumericKey(KeyPressEventArgs)
Processes the alpha-numeric keys
Declaration
protected virtual bool ProcessAlphaNumericKey(KeyPressEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessDeleteKey(KeyEventArgs)
Processes the Delete key
Declaration
protected virtual bool ProcessDeleteKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessDownKey(KeyEventArgs)
Processes the Down key
Declaration
protected virtual bool ProcessDownKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessEndKey(KeyEventArgs)
Processes the End key
Declaration
protected virtual bool ProcessEndKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessEnterKey(KeyEventArgs)
Processes the Enter key
Declaration
protected virtual bool ProcessEnterKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessEscapeKey(KeyEventArgs)
Processes the Escape key
Declaration
protected virtual bool ProcessEscapeKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessF2Key(KeyEventArgs)
Processes the F2 key
Declaration
protected virtual bool ProcessF2Key(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessHomeKey(KeyEventArgs)
Processes the Home key
Declaration
protected virtual bool ProcessHomeKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessInsertKey(KeyEventArgs)
Processes the Insert key
Declaration
protected virtual bool ProcessInsertKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessKey(KeyEventArgs)
Processes key events in RadGridView.
Declaration
public override bool ProcessKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
Overrides
ProcessKeyDown(KeyEventArgs)
Processes key down events in RadGridView.
Declaration
public override bool ProcessKeyDown(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
Overrides
ProcessKeyPress(KeyPressEventArgs)
Processes key press events in RadGridView.
Declaration
public override bool ProcessKeyPress(KeyPressEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
Overrides
ProcessKeyUp(KeyEventArgs)
Processes key up events in RadGridView.
Declaration
public override bool ProcessKeyUp(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
Overrides
ProcessLeftKey(KeyEventArgs)
Processes the Left key
Declaration
protected virtual bool ProcessLeftKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessMouseSelection(Point, GridCellElement)
Processes the mouse selection.
Declaration
protected virtual bool ProcessMouseSelection(Point mousePosition, GridCellElement currentCell)
Parameters
System. The mouse position. |
Grid The current cell. |
Returns
System.
|
ProcessPageDownKey(KeyEventArgs)
Processes the PageDown key
Declaration
protected virtual bool ProcessPageDownKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessPageUpKey(KeyEventArgs)
Processes the PageUp key
Declaration
protected virtual bool ProcessPageUpKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessRightKey(KeyEventArgs)
Processes the Right key
Declaration
protected virtual bool ProcessRightKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessSpaceKey(KeyEventArgs)
Processes the Space key
Declaration
protected virtual bool ProcessSpaceKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessSubtractKey(KeyEventArgs)
Processes the Subtract key
Declaration
protected virtual bool ProcessSubtractKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessTabKey(KeyEventArgs)
Processes the Tab key
Declaration
protected virtual bool ProcessTabKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessUnhandledKeys(KeyEventArgs)
Processes keys that are not handled by ProcessKey methoes
Declaration
protected bool ProcessUnhandledKeys(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ProcessUpKey(KeyEventArgs)
Processes the Up key
Declaration
protected virtual bool ProcessUpKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
ResetControlCursor()
Resets the control cursor.
Declaration
protected void ResetControlCursor()
ResetFieldValues()
Resets the field values.
Declaration
protected virtual bool ResetFieldValues()
Returns
System.
|
ResizeRow(Point)
Resizes the row.
Declaration
protected virtual void ResizeRow(Point currentLocation)
Parameters
System. The current location. |
SelectNextControl(Boolean)
Selects the next control.
Declaration
protected virtual bool SelectNextControl(bool forward)
Parameters
System. if set to |
Returns
System.
|
SelectPositionOnMouseDownLeft(MouseEventArgs, GridRowElement, GridCellElement)
Selects the position on mouse down left.
Declaration
protected virtual bool SelectPositionOnMouseDownLeft(MouseEventArgs e, GridRowElement rowElement, GridCellElement cellElement)
Parameters
System. The System. |
Grid The row element. |
Grid The cell element. |
Returns
System.
|
ShowSizeNSCursort(Point)
Shows the size NS cursort.
Declaration
protected virtual bool ShowSizeNSCursort(Point currentLocation)
Parameters
System. The current location. |
Returns
System.
|
ValidateOnUserInput(MouseEventArgs)
Validates the on user input.
Declaration
protected virtual bool ValidateOnUserInput(MouseEventArgs e)
Parameters
System. The System. |
Returns
System.
|