ComponentFactory.Krypton.Ribbon.KryptonRibbonGroupButtonDesigner.OnTypePush C# (CSharp) Method

OnTypePush() private method

private OnTypePush ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void OnTypePush(object sender, EventArgs e)
        {
            if ((_ribbonButton != null) && (_ribbonButton.Ribbon != null))
            {
                _changeService.OnComponentChanged(_ribbonButton, null, _ribbonButton.ButtonType, GroupButtonType.Push);
                _ribbonButton.ButtonType = GroupButtonType.Push;
            }
        }