예제 #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)));
 }