Spread for ASP.NET 11 Product Documentation
MvcSpreadAttribute Constructor(Boolean)


FarPoint.Mvc.Spread Assembly > FarPoint.Mvc.Spread Namespace > MvcSpreadAttribute Class > MvcSpreadAttribute Constructor : MvcSpreadAttribute Constructor(Boolean)
Indicates whether MvcSpreadModelBinder creates a new FarPoint.Web.Spread.FpSpread instance if the specified FarPoint.Web.Spread.FpSpread is not bound. By default, the new FarPoint.Web.Spread.FpSpread instance contains one FarPoint.Web.Spread.SheetView.
Initializes a new instance of the MvcSpreadAttribute class.
Syntax
'Declaration
 
Public Function New( _
   ByVal create As Boolean _
)
'Usage
 
Dim create As Boolean
 
Dim instance As New MvcSpreadAttribute(create)
public MvcSpreadAttribute( 
   bool create
)

Parameters

create
Indicates whether MvcSpreadModelBinder creates a new FarPoint.Web.Spread.FpSpread instance if the specified FarPoint.Web.Spread.FpSpread is not bound. By default, the new FarPoint.Web.Spread.FpSpread instance contains one FarPoint.Web.Spread.SheetView.
See Also

Reference

MvcSpreadAttribute Class
MvcSpreadAttribute Members
Overload List