public static T AddTo <T>(this T view, ILayout parent) where T : IView { parent.AddChild(view); return(view); }