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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family