protected virtual void OnItemDrag(TiledViewItemMouseEventArgs e) { if (this.ItemDrag != null) { this.ItemDrag(this, e); } }
protected virtual void OnItemDoubleClicked(TiledViewItemMouseEventArgs e) { if (this.ItemDoubleClicked != null) { this.ItemDoubleClicked(this, e); } }
protected virtual void OnItemClicked(TiledViewItemMouseEventArgs e) { if (this.ItemClicked != null) { this.ItemClicked(this, e); } if (this.itemEditIndex == e.ModelIndex && this.allowUserItemEdit) { this.BeginEdit(e.ModelIndex); } }
private void tiledView_ItemDrag(object sender, TiledViewItemMouseEventArgs e) { Console.WriteLine("ItemDrag {0} at {1} with {2}", e.Item, e.Location, e.Buttons); DragDropEffects result = this.tiledView.DoDragDrop(e.Item, DragDropEffects.All); Console.WriteLine(" Result: {0}", result); }
private void tiledView_ItemDoubleClicked(object sender, TiledViewItemMouseEventArgs e) { Console.WriteLine("ItemDoubleClicked {0} at {1} with {2}", e.Item, e.Location, e.Buttons); }