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 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
Reference
NamedStyle MembersFarPoint.Web.Spread Namespace
StyleInfo Class
Named Styles Property
NamedStyleCollection Class