ComponentFactory.Krypton.Ribbon.GroupCheckBoxController.RemoveFixed C# (CSharp) Method

RemoveFixed() public method

Remove the fixed pressed mode.
public RemoveFixed ( ) : void
return void
        public void RemoveFixed()
        {
            if (_fixedPressed)
            {
                // Mouse no longer considered pressed down
                _captured = false;

                // No longer in fixed state mode
                _fixedPressed = false;

                // Update the visual state
                UpdateTargetState(Point.Empty);
            }
        }

Usage Example

Example #1
0
        private void ActionFinishedMediumSmall(object sender, EventArgs e)
        {
            // Remove any popups that result from an action occuring
            _ribbon?.ActionOccured();

            // Remove the fixed pressed appearance
            _viewMediumSmallController.RemoveFixed();
        }
All Usage Examples Of ComponentFactory.Krypton.Ribbon.GroupCheckBoxController::RemoveFixed