ComponentFactory.Krypton.Toolkit.KryptonTrackBar.OnLostFocus C# (CSharp) Method

OnLostFocus() protected method

Raises the LostFocus event.
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void
        protected override void OnLostFocus(EventArgs e)
        {
            if (!_drawTrackBar.TrackPosition.IsFixed)
            {
                // Apply the focus overrides
                _overrideNormal.Apply = false;
                _overrideTracking.Apply = false;
                _overridePressed.Apply = false;

                // Change in focus requires a repaint
                PerformNeedPaint(false);
            }

            base.OnLostFocus(e);
        }