public override void Clear()
{
if (AllowRemoveInternal)
base.Clear();
else
{
if (Count > 0)
throw new NotSupportedException("ReadOnly controls collection");
}
}