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


The following tables list the members exposed by StyleInfo.

Public Constructors
 NameDescription
Public ConstructorStyleInfo ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyBackColorGets or sets the style of the cell background color.  
Public PropertyBackgroundGets or sets the style for the cell background.  
Public PropertyBorderGets or sets the style of the cell border.  
Public PropertyCanFocusGets or sets whether the style marks cells as CanFocus.  
Public PropertyCanSerializeXmlGets whether the object in its entirety can be rendered with XML without losing any information.  
Public PropertyCellTypeGets or sets the type of cell for the style.  
Public PropertyEditorGets or sets the editor of the cell for the style.  
Public PropertyEncodeValueGets or sets whether the renderer encodes the values from the data model and the user's input using the HtmlEncode method.  
Public PropertyFontGets or sets the style of the cell font settings.  
Public PropertyForeColorGets or sets the text color of the cell for the style.  
Public PropertyFormatterGets or sets the formatter to use.  
Public PropertyHorizontalAlignGets or sets the horizontal alignment of the cell for the style.  
Public PropertyImeModeGets or sets the state of an Input Method Editor (IME) of the cell for the style.  
Public PropertyIsEmptyGets whether there are no style settings set.  
Public PropertyLockedGets or sets whether the style marks cells as locked.  
Public PropertyMarginGets 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 PropertyParentGets or sets the name of the parent NamedStyle object for the style.  
Public PropertyRendererGets or sets the renderer of the cell for the style.  
Public PropertyTabStopGets or sets whether the style marks cells as TabStop.  
Public PropertyVerticalAlignGets or sets the vertical alignment of the cell for the style.  
Top
Public Methods
 NameDescription
Public MethodCloneCreates a new object that is a copy of the current instance (with the same style settings).  
Public MethodCompareToCompares the current object with another object of the same type.  
Public MethodComposeOverloaded. Composes style settings using the current style settings and those of a specified object.  
Public MethodCopyFromCopies the specified style settings of the specified object to the current object.  
Public MethodDeserializeLoads the object from XML.  
Public MethodEqualsDetermines whether the style settings of this object are equivalent to the object specified.  
Public MethodGetAppearanceOverloaded. Gets the appearance settings for the StyleInfo object.  
Public MethodGetHashCodeReturns the hash code of this object.  
Public MethodIsPropertySetGets whether the specified style property is set.  
Public MethodMergeOverloaded. Merges the style settings with the current object.  
Public MethodResetOverloaded. Resets a specified property for a style to its default setting.  
Public MethodResetBackColorResets the BackColor property to its default value.  
Public MethodResetBackgroundResets the Background property to its default value.  
Public MethodResetBorderResets the Border property to its default value.  
Public MethodResetCanFocusResets the CanFocus property to its default value.  
Public MethodResetCellTypeResets the CellType property to its default value.  
Public MethodResetEditorResets the Editor property to its default value.  
Public MethodResetEncodeValueResets the EncodeValue property to its default value.  
Public MethodResetFontResets the Font property to its default value.  
Public MethodResetForeColorResets the ForeColor property to its default value.  
Public MethodResetFormatterResets the Formatter property to its default value.  
Public MethodResetHorizontalAlignmentResets the HorizontalAlign property to its default value.  
Public MethodResetImeModeResets the ImeMode property to its default value.  
Public MethodResetLockedResets the Locked property to its default value.  
Public MethodResetMarginResets the Margin property to its default value.  
Public MethodResetParentResets the Parent property to its default value.  
Public MethodResetRendererResets the Renderer property to its default value.  
Public MethodResetTabStopResets the TabStop property to its default value.  
Public MethodResetVerticalAlignmentResets the VerticalAlign property to its default value.  
Public MethodSameAppearanceCompares a StyleInfo object's appearance with the current object's appearance.  
Public MethodSerializeSaves the style information to XML.  
Public MethodSerialize2Saves the style information to XML using short names.  
Top
Protected Methods
 NameDescription
Protected MethodSetFlagSets a flag to indicate whether a property has been set.  
Top
Public Operators
public Operator Equality Compares a specified StyleInfo object with another object for equality.
public Operator Inequality 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

 

 


Copyright © GrapeCity, inc. All rights reserved.