void _controller_DoubleClick(object sender, GridViewControllerEventArgs e) { if (GridDoubleClick != null) { GridDoubleClickEventArgs args = new GridDoubleClickEventArgs(e.Data, e.DataBoundType); GridDoubleClick(this, args); } }
void _controller_DoubleClick(object sender, GridViewControllerEventArgs e) { if (e.Data == null) { return; } if (GridDoubleClick != null) { GridDoubleClickEventArgs args = new GridDoubleClickEventArgs(e.Data, e.DataBoundType); GridDoubleClick(this, args); } if (e.Data.GetType().Equals(typeof(DataItemEntityDev))) { _editDataItemEntityCommand.Excute(); } }