RemoveFixed() public méthode

Remove the fixed pressed mode.
public RemoveFixed ( ) : void
Résultat void
Exemple #1
0
        private void ActionFinished(object sender, EventArgs e)
        {
            bool fireAction = true;

            if (e is ToolStripDropDownClosedEventArgs closedArgs)
            {
                if (closedArgs.CloseReason != ToolStripDropDownCloseReason.ItemClicked)
                {
                    fireAction = false;
                }
            }

            // Remove any popups that result from an action occuring
            if ((_ribbon != null) && fireAction)
            {
                _ribbon.ActionOccured();
            }

            // Remove the fixed pressed appearance
            _controller.RemoveFixed();
        }