Example #1
0
 /// <summary>
 /// Raises the cell double click event.
 /// </summary>
 public void OnCellDoubleClick(Grid widget, GridViewCellEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnCellDoubleClick(e));
 }
Example #2
0
 /// <summary>
 /// Raises the cell edited event.
 /// </summary>
 public void OnCellEdited(Grid widget, GridViewCellEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnCellEdited(e));
 }
Example #3
0
 /// <summary>
 /// Raises the <see cref="Grid.CellEdited"/> event
 /// </summary>
 /// <param name="e">Event arguments</param>
 protected virtual void OnCellEdited(GridViewCellEventArgs e)
 {
     Properties.TriggerEvent(CellEditedEvent, this, e);
 }
Example #4
0
 /// <summary>
 /// Raises the <see cref="CellDoubleClick"/> event.
 /// </summary>
 /// <param name="e">Grid cell event arguments.</param>
 protected virtual void OnCellDoubleClick(GridViewCellEventArgs e)
 {
     Properties.TriggerEvent(CellDoubleClickEvent, this, e);
 }
Example #5
0
File: Grid.cs Project: zzlvff/Eto
 /// <summary>
 /// Raises the cell edited event.
 /// </summary>
 public void OnCellEdited(Grid widget, GridViewCellEventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnCellEdited(e);
 }