Visual Basic (Declaration) | |
---|---|
Public Class NamedStyle Inherits StyleInfo Implements FarPoint.Web.Spread.Model.ICanSerializeXml, FarPoint.Web.Spread.Model.ISerializeSupport, FarPoint.Web.Spread.Model.ISerializeSupport2 |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As NamedStyle |
C# | |
---|---|
public class NamedStyle : StyleInfo, FarPoint.Web.Spread.Model.ICanSerializeXml, FarPoint.Web.Spread.Model.ISerializeSupport, FarPoint.Web.Spread.Model.ISerializeSupport2 |
If the EnableClientScript property of the Spread component is set to false when using a named style, you should set the Parent property of the NamedStyle to DataAreaDefault because the NamedStyle has no editor and so no cells are editable. Set the Parent property to use DataAreaDefault as the parent style so that the GeneralCellType editor is inherited from the DataAreaDefault and the cells are thus editable.
For more information about styles and creating your own custom styles, refer to Creating and Applying a Style for Cells.
System.Object
FarPoint.Web.Spread.StyleInfo
FarPoint.Web.Spread.NamedStyle
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
Reference
NamedStyle MembersFarPoint.Web.Spread Namespace
StyleInfo Class
Named Styles Property
NamedStyleCollection Class