Spread for ASP.NET 12 Product Documentation
RenderCSSClass Property


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : RenderCSSClass Property
Gets or sets whether the Spread component should render the styles by using CSS styles or by using in-line style attributes.
Syntax
'Declaration
 
Public Property RenderCSSClass As Boolean
'Usage
 
Dim instance As FpSpread
Dim value As Boolean
 
instance.RenderCSSClass = value
 
value = instance.RenderCSSClass
public bool RenderCSSClass {get; set;}
Remarks
Gets or sets whether the Spread component should render the styles, such as BackColor, ForeColor, Font, etc., by using cascading style sheet (CSS) styles or by using in-line style attributes. The default is to use the in-line style attributes. If this property is true, the Spread component renders the styles as CSS styles. That reduces the page size and speeds up loading the ASPX page. When this property is true, the Spread component checks if a cell renderer supports the ICSSClassSupport interface. If the cell renderer supports the ICSSClassSupport interface and the CssClass property of the cell renderer is null or empty string, the Spread component renders the style for the cell as a CSS style; otherwise, the Spread component renders the style as in-line style attributes.
See Also

Reference

FpSpread Class
FpSpread Members