public Insert ( int index, |
||
index | int | Index of position to insert. |
checkButton | The KryptonCheckButton reference to insert. | |
return | void |
public void Insert(int index, KryptonCheckButton checkButton)
{
Debug.Assert(checkButton != null);
if (checkButton == null)
throw new ArgumentNullException("checkButton");
if ((index < 0) || (index > Count))
throw new ArgumentOutOfRangeException("index");
if (Contains(checkButton))
throw new ArgumentException("Reference already in collection");
base.List.Insert(index, checkButton);
}