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


FarPoint.Mvc.Spread Assembly > FarPoint.Mvc.Spread Namespace > MvcSpreadAttribute Class > MvcSpreadAttribute Constructor : MvcSpreadAttribute Constructor(String,Boolean)
Indicates the name of the group which FarPoint.Web.Spread.FpSpread's event is attached to.
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 group As String, _
   ByVal create As Boolean _
)
'Usage
 
Dim group As String
Dim create As Boolean
 
Dim instance As New MvcSpreadAttribute(group, create)
public MvcSpreadAttribute( 
   string group,
   bool create
)

Parameters

group
Indicates the name of the group which FarPoint.Web.Spread.FpSpread's event is attached to.
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