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