protected override void OnInit(EventArgs e) { base.OnInit(e); if(_contentTemplate != null) { var c = new Control(); _contentTemplate.InstantiateIn(c); Content.Add(c); } }