Ejemplo n.º 1
0
 /// <summary>Calls the CellDataBound callback.</summary>
 /// <param name="sender">Event orginiator</param>
 /// <param name="cell">Cell being populated</param>
 /// <param name="row">Row being populated</param>
 /// <param name="dataItem">The data item.</param>
 public void OnBoundField(object sender, Cell cell, Row row, T dataItem)
 {
     if (CellDataBound != null)
     {
         AdapterFieldEventArgs <T> args = new AdapterFieldEventArgs <T>(cell, row, dataItem);
         CellDataBound(sender, args);
     }
 }
Ejemplo n.º 2
0
 private void TestCellDataBound(object sender, AdapterFieldEventArgs <int> args)
 {
     _storedArgs   = args;
     _storedSender = sender;
 }
Ejemplo n.º 3
0
 public void Setup()
 {
     _storedArgs   = null;
     _storedSender = null;
 }