示例#1
0
文件: Grid.cs 项目: CheckTech/Eto
 /// <summary>
 /// Raises the cell double click event.
 /// </summary>
 public void OnCellDoubleClick(Grid widget, GridViewCellEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnCellDoubleClick(e));
 }
示例#2
0
文件: Grid.cs 项目: CheckTech/Eto
 /// <summary>
 /// Raises the cell edited event.
 /// </summary>
 public void OnCellEdited(Grid widget, GridViewCellEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnCellEdited(e));
 }
示例#3
0
文件: Grid.cs 项目: CheckTech/Eto
 /// <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);
 }
示例#4
0
文件: Grid.cs 项目: CheckTech/Eto
 /// <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);
 }
示例#5
0
文件: Grid.cs 项目: zzlvff/Eto
 /// <summary>
 /// Raises the cell edited event.
 /// </summary>
 public void OnCellEdited(Grid widget, GridViewCellEventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnCellEdited(e);
 }