AjaxControlToolkit.HtmlEditor.Popups.PopupBoxButton.OnInit C# (CSharp) Метод

OnInit() защищенный Метод

protected OnInit ( EventArgs e ) : void
e System.EventArgs
Результат void
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            if(_contentTemplate != null) {
                var c = new Control();
                _contentTemplate.InstantiateIn(c);
                Content.Add(c);
            }
        }