public void NotifyDopesheetRowClicked(DopesheetRow item, MouseButton mouseButton) { if (mouseButton == MouseButton.Left) { RowClicked?.Invoke(item); } }
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex != 2) { _ClickedRow = e.RowIndex; RowClicked?.Invoke(sender, EventArgs.Empty); } }
private void Adapter_RowClicked <T>(object sender, RowClickedEventArgs <T> e) { RowClicked?.Invoke(sender, new RowClickedEventArgs <object>(e)); }
protected Task OnRowClickedCommand(DataGridRowMouseEventArgs <TItem> eventArgs) { return(RowClicked.InvokeAsync(eventArgs)); }
protected virtual void EmitRowClick(object sender, int position, T model, object tag) { RowClicked?.Invoke(sender, new RowClickedEventArgs <T>( position, model, tag)); }
protected virtual void EmitRowClick(object sender, T model) { RowClicked?.Invoke(sender, new RowClickedEventArgs <T>(model)); }
private void InternalRvAdapter_ItemClick(object sender, ItemClickEventArgs e) { RowClicked?.Invoke(sender, new RowClickedEventArgs <T>(e.Item)); }
protected virtual void OnRowClicked(RowClickedEventArgs <TItem> e) { RowClicked?.Invoke(this, e); }