public static MvcHtmlString OriginalContent <T>(this CellEditorTemplateRegionBase <T> t) where T : ICellEditorViewModel
 {
     return(MvcHtmlString.Create("{{{OriginalContent}}}"));
 }
 public static MvcHtmlString BindReject <T>(this CellEditorTemplateRegionBase <T> t, string eventId) where T : ICellEditorViewModel
 {
     return(t.BindEvent("rejectHandler", eventId));
 }
 public static MvcHtmlString WhenValidating <T>(this CellEditorTemplateRegionBase <T> t, Action <VisualState> state) where T : ICellEditorViewModel
 {
     return(t.State("validating", state));
 }
 public static MvcHtmlString Datepicker <T>(this CellEditorTemplateRegionBase <T> t) where T : ICellEditorViewModel
 {
     return(t.Datepicker(t.CleanValue(c => c.Column.RawName)));
 }
 public static MvcHtmlString WhenInvalid <T>(this CellEditorTemplateRegionBase <T> t, Action <SpecialVisualStateDescription <ISpecialInvalidStateViewModel> > state) where T : ICellEditorViewModel
 {
     return(t.State("invalid", VisualState.FromSpecialDelegate(state)));
 }