Spread ASP.NET 6.0 Product Documentation
MvcSpreadAttribute Constructor(String,Boolean)
See Also  Send Feedback
FarPoint.Mvc.Spread Assembly > FarPoint.Mvc.Spread Namespace > MvcSpreadAttribute Class > MvcSpreadAttribute Constructor : MvcSpreadAttribute Constructor(String,Boolean)


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.

Glossary Item Box

Initializes a new instance of the MvcSpreadAttribute class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal group As String, _
   ByVal create As Boolean _
)
Visual Basic (Usage)Copy Code
Dim group As String
Dim create As Boolean
 
Dim instance As New MvcSpreadAttribute(group, create)
C# 
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.

Requirements

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

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.