Rock.Web.UI.Controls.RockDropDownList.CreateControlCollection C# (CSharp) Method

CreateControlCollection() protected method

Creates a collection to store child controls.
protected CreateControlCollection ( ) : System.Web.UI.ControlCollection
return System.Web.UI.ControlCollection
        protected override ControlCollection CreateControlCollection()
        {
            // By default a DropDownList control does not allow adding of child controls.
            // This method needs to be overridden to allow this
            return new ControlCollection( this );
        }