GrapeCity MultiRow Windows Forms Documentation
CellBeginEdit Event


Occurs when edit mode starts for the selected cell.
Syntax
<SRDescriptionAttribute("Occurs when edit mode starts for the selected cell.")>
<SRCategoryAttribute("Data")>
<FeatureAttribute(Name="UIEdit", Version="v5.0")>
Public Event CellBeginEdit As EventHandler(Of CellBeginEditEventArgs)
Dim instance As GcMultiRow
Dim handler As EventHandler(Of CellBeginEditEventArgs)
 
AddHandler instance.CellBeginEdit, handler
[SRDescription("Occurs when edit mode starts for the selected cell.")]
[SRCategory("Data")]
[Feature(Name="UIEdit", Version="v5.0")]
public event EventHandler<CellBeginEditEventArgs> CellBeginEdit
Event Data

The event handler receives an argument of type CellBeginEditEventArgs containing data related to this event. The following CellBeginEditEventArgs properties provide information specific to this event.

PropertyDescription
BeginEditReasonGets the BeginEditReason that specifies how a user starts cell editing in the GcMultiRow control.  
Cancel (Inherited from System.ComponentModel.CancelEventArgs)
CellIndexGets the cell index in its parent Section. (Inherited from GrapeCity.Win.MultiRow.CellCancelEventArgs)
CellNameGets the cell name. (Inherited from GrapeCity.Win.MultiRow.CellCancelEventArgs)
MoveStatusGets the status that indicates which behavior caused the CellBeginEdit event to occur.  
RowIndexGets the index of the owner Row that the event occurs for. (Inherited from GrapeCity.Win.MultiRow.CellCancelEventArgs)
ScopeGets the cell area that the event occurs for. (Inherited from GrapeCity.Win.MultiRow.CellCancelEventArgs)
SectionIndexGets the index of the owner Section that the event occurs for. (Inherited from GrapeCity.Win.MultiRow.CellCancelEventArgs)
Remarks
The event order is as follows when the user edits a cell's value and then clicks another cell to apply the cell's value:
  1. User double-clicks a cell or presses a shortcut key or presses a character to enter the edit state.
  2. User inputs a value in the editing control or editing cell.
  3. User clicks another cell and when the current cell prepares to move, the user can redirect the new cell position.
  4. If the new target cell's row index is different from the old current cell's row index, the RowLeave event is fired.
  5. Validates the cell's value.
  6. Converts the editing value type to a cell acceptable value type.
  7. The editing value is applied to the cell.
  8. Validates the whole row's value when the new target cell's row index is different from the old current cell's row index.
  9. The editing control or editing cell is uninstalled.
  10. Enters a new target cell.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GcMultiRow Class
GcMultiRow Members

 

 


Copyright © GrapeCity, inc. All rights reserved.