ComponentFactory.Krypton.Toolkit.ViewManager.KeyUp C# (CSharp) Method

KeyUp() public method

Perform key up handling.
public KeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data.
return void
        public virtual void KeyUp(KeyEventArgs e)
        {
            // Tell current view of key event
            if (ActiveView != null)
                MouseCaptured = ActiveView.KeyUp(e);
            else if (_root != null)
                MouseCaptured = _root.KeyUp(e);
        }

Usage Example

Beispiel #1
0
        /// <summary>
        /// Raises the KeyUp event.
        /// </summary>
        /// <param name="e">A KeyEventArgs that contains the event data.</param>
        protected override void OnKeyUp(KeyEventArgs e)
        {
            // Cannot process a message for a disposed control
            if (!IsDisposed)
            {
                // Do we have a manager for processing key messages?
                ViewManager?.KeyUp(e);
            }

            // Let base class fire events
            base.OnKeyUp(e);
        }
All Usage Examples Of ComponentFactory.Krypton.Toolkit.ViewManager::KeyUp