ComponentFactory.Krypton.Toolkit.ViewDecorator.MouseDown C# (CSharp) Method

MouseDown() public method

Mouse button has been pressed in the view.
public MouseDown ( Point pt, MouseButtons button ) : bool
pt Point Mouse position relative to control.
button MouseButtons Mouse button pressed down.
return bool
        public override bool MouseDown(Point pt, MouseButtons button)
        {
            // Bubble event up to the parent
            if (Parent != null)
                return Parent.MouseDown(pt, button);
            else
                return false;
        }