ComponentFactory.Krypton.Ribbon.KryptonRibbonGroupCheckBoxDesigner.OnVisible C# (CSharp) Method

OnVisible() private method

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