public static MvcHtmlString WhenInvalid <T>(this CellEditorTemplateRegionBase <T> t, Action <SpecialVisualStateDescription <ISpecialInvalidStateViewModel> > state) where T : ICellEditorViewModel
 {
     return(t.State("invalid", VisualState.FromSpecialDelegate(state)));
 }
Esempio n. 2
0
 public static MvcHtmlString WhenLengthWarning <T>(this MemoEditorTemplateRegion t, Action <SpecialVisualStateDescription <ISpecialWarningStateViewModel> > state) where T : IMemoEditorViewModel
 {
     return(t.State("warning", VisualState.FromSpecialDelegate(state)));
 }
Esempio n. 3
0
 public static MvcHtmlString WhenSelected(this SelectListTemplateRegion t, Action <SpecialVisualStateDescription <ISelectedStateViewModel> > action)
 {
     return(t.State("selected", VisualState.FromSpecialDelegate(action)));
 }