Bloom.Edit.ThumbNailList._listView_MouseDown C# (CSharp) Method

_listView_MouseDown() private method

private _listView_MouseDown ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void
        private void _listView_MouseDown(object sender, MouseEventArgs e)
        {
            _intentionallyChangingSelection = true;
            //_mouseDownLocation = e.Location;
            if (this.RelocatePageEvent !=null)
            {
                var listItem = _listView.GetItemAt(e.X, e.Y);
                if (listItem == null)
                    return;
                if (!((IPage)listItem.Tag).CanRelocate)
                {
                    return;
                }
                Capture = true;

                _currentDraggingItem = listItem;
                Cursor = Cursors.Hand;
            }
        }