ComponentFactory.Krypton.Toolkit.KryptonCheckButton.OnCheckedChanged C# (CSharp) Method

OnCheckedChanged() protected method

Raises the CheckedChanged event.
protected OnCheckedChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
return void
        protected virtual void OnCheckedChanged(EventArgs e)
        {
            if (CheckedChanged != null)
                CheckedChanged(this, e);

            // If there is a command associated then update with new state
            if (KryptonCommand != null)
                KryptonCommand.Checked = Checked;
        }