ComponentFactory.Krypton.Toolkit.KryptonCheckSet.KryptonCheckButtonCollection.Remove C# (CSharp) Method

Remove() public method

Removes a KryptonCheckButton from the collection.
public Remove ( KryptonCheckButton checkButton ) : void
checkButton KryptonCheckButton The KryptonCheckButton to remove.
return void
            public void Remove(KryptonCheckButton checkButton)
            {
                Debug.Assert(checkButton != null);

                if (checkButton == null)
                    throw new ArgumentNullException("checkButton");

                if (!Contains(checkButton))
                    throw new ArgumentException("No matching reference to remove");

                base.List.Remove(checkButton);
            }