Spread for ASP.NET 11 Product Documentation
NamedStyle Class
Members 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace : NamedStyle Class
Represents a named style, an object that can be used to set style information for other objects.
Object Model
NamedStyle ClassBackground ClassBorder ClassICellType InterfaceIEditor InterfaceIFormatter InterfaceInset ClassIRenderer Interface
Syntax
Remarks

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.

Inheritance Hierarchy

System.Object
   FarPoint.Web.Spread.StyleInfo
      FarPoint.Web.Spread.NamedStyle

See Also

Reference

NamedStyle Members
FarPoint.Web.Spread Namespace
StyleInfo Class
Named Styles Property
NamedStyleCollection Class

User-Task Documentation

Creating and Applying a Style for Cells