GrapeCity MultiRow Windows Forms Documentation
CellEndEdit Event


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

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

PropertyDescription
CellIndexGets the cell index in its parent Section. (Inherited from GrapeCity.Win.MultiRow.CellEventArgs)
CellNameGets the cell name. (Inherited from GrapeCity.Win.MultiRow.CellEventArgs)
EditCanceledGets a value that indicates whether the edit operation is canceled.  
EndEditReasonGets the EndEditReason that specifies how a user has ended edit mode.  
MoveStatusGets the status that indicates which behavoir caused the CellEndEdit event to occur.  
RowIndexGets the index of the owner Row that the event occurs for. (Inherited from GrapeCity.Win.MultiRow.CellEventArgs)
ScopeGets the area of the cell that the event occurs for. (Inherited from GrapeCity.Win.MultiRow.CellEventArgs)
SectionIndexGets the index of the owner Section that the event occurs for. (Inherited from GrapeCity.Win.MultiRow.CellEventArgs)
Remarks
The event order is as follows when a 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 edit mode.
  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 the 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.