Пример #1
0
 public static MvcHtmlString OriginalContent <T>(this CellEditorTemplateRegionBase <T> t) where T : ICellEditorViewModel
 {
     return(MvcHtmlString.Create("{{{OriginalContent}}}"));
 }
Пример #2
0
 public static MvcHtmlString BindReject <T>(this CellEditorTemplateRegionBase <T> t, string eventId) where T : ICellEditorViewModel
 {
     return(t.BindEvent("rejectHandler", eventId));
 }
Пример #3
0
 public static MvcHtmlString WhenValidating <T>(this CellEditorTemplateRegionBase <T> t, Action <VisualState> state) where T : ICellEditorViewModel
 {
     return(t.State("validating", state));
 }
Пример #4
0
 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)));
 }