Spread for ASP.NET 7.0 Product Documentation
MvcSpreadModelBinder Class
Members  See Also  Support Options
FarPoint.Mvc.Spread Assembly > FarPoint.Mvc.Spread Namespace : MvcSpreadModelBinder Class


Glossary Item Box

Defines the methods that are required for an MvcSpread model binder.

Object Model

MvcSpreadModelBinder Class

Syntax

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 

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

Requirements

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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.