public static IFormBuilder <TForm, TControl> ApplyTheme <TForm, TControl>(this IFormBuilder <TForm, TControl> builder, ITheme theme) where TForm : BaseForm where TControl : BaseControl { builder.ConfigureForm(form => form.ApplyTheme(theme)); return(builder); }