GrapeCity MultiRow Windows Forms Documentation
CellParsingEventArgs Class
Members 


Provides data for the GcMultiRow.CellParsing event of the GcMultiRow control.
Object Model
CellParsingEventArgs ClassCellStyle Class
Syntax
Public Class CellParsingEventArgs 
   Inherits System.Windows.Forms.ConvertEventArgs
Dim instance As CellParsingEventArgs
public class CellParsingEventArgs : System.Windows.Forms.ConvertEventArgs 
Remarks

This class is used to inform the user about the parsing process of the cell's value. The user can change the cell's style by setting CellStyle to a new value. The user can also change the cell's value by setting System.Windows.Forms.ConvertEventArgs.Value to a new value. If ParsingApplied is set to true, the value is used as the cell's formatted value; otherwise, there is still a parsing process.

If the cell parsing process fails, the GcMultiRow.DataError event is fired.

The event order when a user edits a cell's value and then clicks to another cell to apply the cell's value is as follows:

  1. The user double-clicks a cell or presses a shortcut key or presses a character to enter edit mode.
  2. The user inputs a value in the editing control or editing cell.
  3. The user clicks another cell and 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 GcMultiRow.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 entire 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 new target cell.

Inheritance Hierarchy

System.Object
   System.EventArgs
      System.Windows.Forms.ConvertEventArgs
         GrapeCity.Win.MultiRow.CellParsingEventArgs

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

CellParsingEventArgs Members
GrapeCity.Win.MultiRow Namespace
CellParsing Event
CellFormatting Event

 

 


Copyright © GrapeCity, inc. All rights reserved.