ComponentFactory.Krypton.Toolkit.KryptonReadOnlyControls.Clear C# (CSharp) Method

Clear() public method

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