Spread for ASP.NET 11 Product Documentation
MvcSpreadModelBinder Class
Members 


FarPoint.Mvc.Spread Assembly > FarPoint.Mvc.Spread Namespace : MvcSpreadModelBinder Class
Defines the methods that are required for an MvcSpread model binder.
Object Model
MvcSpreadModelBinder Class
Syntax
'Declaration
 
Public Class MvcSpreadModelBinder 
   Inherits System.Web.Mvc.DefaultModelBinder
'Usage
 
Dim instance As MvcSpreadModelBinder
public class MvcSpreadModelBinder : System.Web.Mvc.DefaultModelBinder 
Example

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());

Inheritance Hierarchy

System.Object
   System.Web.Mvc.DefaultModelBinder
      FarPoint.Mvc.Spread.MvcSpreadModelBinder

See Also

Reference

MvcSpreadModelBinder Members
FarPoint.Mvc.Spread Namespace