/// <summary>
        /// Catch double click event
        /// </summary>
        private void AdapterListView_DoubleClickHandler(object sender, EventArgs e)
        {
            var selectedItem = SelectedItem;

            if (selectedItem == null)
            {
                return;
            }
            OnItemDoubleClicked?.Invoke(selectedItem);
        }
예제 #2
0
        protected override void DoubleClickedItem(int id)
        {
            GridViewData data = ViewModel.GetDataByID(id);

            OnItemDoubleClicked?.Invoke(data);
        }