AnimatGuiCtrls.Controls.ImageListDrag.HideDragImage C# (CSharp) Method

HideDragImage() public method

Shows or hides the drag image. This is used to prevent painting problems if the area under the drag needs to be repainted.
public HideDragImage ( bool state ) : void
state bool True to hide the drag image and /// allow repainting, False to show the drag image.
return void
        public void HideDragImage(bool state)
        {
            if (this.inDrag)
            {
                if (state)
                {
                    ImageList_DragLeave(this.hWndLast);
                    this.startDrag = true;
                }
                else
                {
                    DragDrop();
                }
            }
        }