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

OnGotFocus() protected method

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

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

            base.OnGotFocus(e);
        }