GotFocus() public method

Perform got focus handling.
public GotFocus ( ) : void
return void
        /// <summary>
        /// Raises the GotFocus event.
        /// </summary>
        /// <param name="e">An EventArgs that contains the event data.</param>
        protected override void OnGotFocus(EventArgs e)
        {
            // Cannot process a message for a disposed control
            if (!IsDisposed)
            {
                // Do we have a manager for processing source messages?
                ViewManager?.GotFocus();
            }

            // Let base class fire standard event
            base.OnGotFocus(e);
        }