Visual Basic (Declaration) | |
---|---|
Public Class MvcSpreadModelBinder Inherits System.Web.Mvc.DefaultModelBinder |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As MvcSpreadModelBinder |
C# | |
---|---|
public class MvcSpreadModelBinder : System.Web.Mvc.DefaultModelBinder |
Override the default model binder: ModelBinders.Binders.DefaultBinder = new FarPoint.Mvc.Spread.MvcSpreadModelBinder();
Add a custom model binder: ModelBinders.Binders.Add(typeof(FarPoint.Mvc.Spread.FpSpread), new FarPoint.Mvc.Spread.MvcSpreadModelBinder());
System.Object
System.Web.Mvc.DefaultModelBinder
FarPoint.Mvc.Spread.MvcSpreadModelBinder
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6