Spread for ASP.NET 11 Product Documentation
StyleInfo Class Members
Properties  Methods 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace : StyleInfo Class

The following tables list the members exposed by StyleInfo.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyGets or sets the style of the cell background color.  
Public PropertyGets or sets the style for the cell background.  
Public PropertyGets or sets the style of the cell border.  
Public PropertyGets or sets whether the style marks cells as CanFocus.  
Public PropertyGets whether the object in its entirety can be rendered with XML without losing any information.  
Public PropertyGets or sets the type of cell for the style.  
Public PropertyGets or sets the editor of the cell for the style.  
Public PropertyGets or sets whether the renderer encodes the values from the data model and the user's input using the HtmlEncode method.  
Public PropertyGets or sets the style of the cell font settings.  
Public PropertyGets or sets the text color of the cell for the style.  
Public PropertyGets or sets the formatter to use.  
Public PropertyGets or sets the horizontal alignment of the cell for the style.  
Public PropertyGets or sets the state of an Input Method Editor (IME) of the cell for the style.  
Public PropertyGets whether there are no style settings set.  
Public PropertyGets or sets whether the style marks cells as locked.  
Public PropertyGets or sets the settings of the cell margins that define the space between the cell border and the cell contents for the four sides of the cell.  
Public PropertyGets or sets the name of the parent NamedStyle object for the style.  
Public PropertyGets or sets the renderer of the cell for the style.  
Public PropertyGets or sets whether the style marks cells as TabStop.  
Public PropertyGets or sets the vertical alignment of the cell for the style.  
Top
Public Methods
 NameDescription
Public MethodCreates a new object that is a copy of the current instance (with the same style settings).  
Public MethodCompares the current object with another object of the same type.  
Public MethodOverloaded. Composes style settings using the current style settings and those of a specified object.  
Public MethodCopies the specified style settings of the specified object to the current object.  
Public MethodLoads the object from XML.  
Public MethodDetermines whether the style settings of this object are equivalent to the object specified.  
Public MethodOverloaded. Gets the appearance settings for the StyleInfo object.  
Public MethodReturns the hash code of this object.  
Public MethodGets whether the specified style property is set.  
Public MethodOverloaded. Merges the style settings with the current object.  
Public MethodOverloaded. Resets a specified property for a style to its default setting.  
Public MethodResets the BackColor property to its default value.  
Public MethodResets the Background property to its default value.  
Public MethodResets the Border property to its default value.  
Public MethodResets the CanFocus property to its default value.  
Public MethodResets the CellType property to its default value.  
Public MethodResets the Editor property to its default value.  
Public MethodResets the EncodeValue property to its default value.  
Public MethodResets the Font property to its default value.  
Public MethodResets the ForeColor property to its default value.  
Public MethodResets the Formatter property to its default value.  
Public MethodResets the HorizontalAlign property to its default value.  
Public MethodResets the ImeMode property to its default value.  
Public MethodResets the Locked property to its default value.  
Public MethodResets the Margin property to its default value.  
Public MethodResets the Parent property to its default value.  
Public MethodResets the Renderer property to its default value.  
Public MethodResets the TabStop property to its default value.  
Public MethodResets the VerticalAlign property to its default value.  
Public MethodCompares a StyleInfo object's appearance with the current object's appearance.  
Public MethodSaves the style information to XML.  
Public MethodSaves the style information to XML using short names.  
Top
Protected Methods
 NameDescription
Protected MethodSets a flag to indicate whether a property has been set.  
Top
Public Operators
Compares a specified StyleInfo object with another object for equality.
Compares a specified StyleInfo object with another object for inequality.
Top
See Also

Reference

StyleInfo Class
FarPoint.Web.Spread Namespace
NamedStyle Class

User-Task Documentation

Creating and Applying a Style for Cells