ComponentFactory.Krypton.Ribbon.KryptonRibbonGroupClusterColorButtonDesigner.OnVisible C# (CSharp) Méthode

OnVisible() private méthode

private OnVisible ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void
        private void OnVisible(object sender, EventArgs e)
        {
            if ((_ribbonColorButton != null) && (_ribbonColorButton.Ribbon != null))
            {
                _changeService.OnComponentChanged(_ribbonColorButton, null, _ribbonColorButton.Visible, !_ribbonColorButton.Visible);
                _ribbonColorButton.Visible = !_ribbonColorButton.Visible;
            }
        }