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


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

The following tables list the members exposed by NamedStyle.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyOverridden. Gets or sets the background color for the style.  
Public PropertyOverridden. Gets or sets the background for the style.  
Public PropertyOverridden. Gets or sets the border for the style.  
Public PropertyGets or sets whether the style marks cells as CanFocus. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public PropertyGets whether the object in its entirety can be rendered with XML without losing any information. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public PropertyOverridden. Gets or sets the cell type object for the style.  
Public PropertyOverridden. Gets or sets the editor 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. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public PropertyOverridden. Gets or sets the font for the style.  
Public PropertyOverridden. Gets or sets the text color for the style.  
Public PropertyOverridden. Gets or sets the formatter for the style.  
Public PropertyOverridden. Gets or sets the horizontal alignment for the style.  
Public PropertyOverridden. Gets 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. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public PropertyOverridden. Gets or sets whether this style permits a cell to be edited.  
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. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public PropertyGets or sets the name of the style.  
Public PropertyOverridden. Gets or sets the name of the parent for the style.  
Public PropertyOverridden. Gets or sets the renderer for the style.  
Public PropertyGets or sets whether the style marks cells as TabStop. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public PropertyOverridden. Gets or sets the vertical alignment for the style.  
Top
Public Methods
 NameDescription
Public MethodOverridden. Creates and returns a copy of this object.  
Public MethodCompares the current object with another object of the same type. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodOverloaded. Composes style settings using the current style settings and those of a specified object. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodOverridden. Copies the properties of the specified object to the current object.  
Public MethodOverridden. Loads the style object from XML.  
Public MethodDetermines whether another object is a reference to this object.  
Public MethodOverloaded. Gets the appearance settings for the StyleInfo object. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodGets the hash code of this object.  
Public MethodGets whether the specified style property is set. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodOverloaded. Merges the style settings with the current object. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodOverloaded. Overridden. Resets all the named style properties to their default values.  
Public MethodResets the StyleInfo.BackColor property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.Background property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.Border property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.CanFocus property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.CellType property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.Editor property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.EncodeValue property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.Font property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.ForeColor property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.Formatter property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.HorizontalAlign property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.ImeMode property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.Locked property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.Margin property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the name of the style to the default (String.Empty).  
Public MethodResets the StyleInfo.Parent property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.Renderer property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.TabStop property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResets the StyleInfo.VerticalAlign property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodCompares a StyleInfo object's appearance with the current object's appearance. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodOverridden. Saves the style object to XML.  
Public MethodSaves the style information to XML using short names. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodGets the value of the Name property.  
Top
Protected Methods
 NameDescription
Protected MethodRaises the Changed event.  
Protected MethodSets a flag to indicate whether a property has been set. (Inherited from FarPoint.Web.Spread.StyleInfo)
Top
Public Events
 NameDescription
Public EventOccurs when the named style has changed.  
Top
Public Operators
Determines whether two styles (a specified object and a NamedStyle object) are equal.
Determines whether two styles (a specified object and a NamedStyle object) are not equal.
Top
See Also

Reference

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

User-Task Documentation

Creating and Applying a Style for Cells