ComponentFactory.Krypton.Toolkit.ViewControl.OnMouseLeave C# (CSharp) Method

OnMouseLeave() protected method

Raises the MouseLeave event.
protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void
        protected override void OnMouseLeave(EventArgs e)
        {
            // Cannot process a message for a disposed control
            if (!IsDisposed && !Disposing && !RootInstance.IsDisposed)
            {
                // Do we have a manager for processing mouse messages?
                if (GetViewManager() != null)
                {
                    // Use the root controls view manager to process the event
                    GetViewManager().MouseLeave(e);
                }
            }

            // Let base class fire events
            base.OnMouseLeave(e);
        }