コード例 #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);
 }