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


The following tables list the members exposed by NamedStyle.

Public Constructors
 NameDescription
Public ConstructorNamedStyle ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyBackColorOverridden. Gets or sets the background color for the style.  
Public PropertyBackgroundOverridden. Gets or sets the background for the style.  
Public PropertyBorderOverridden. Gets or sets the border for the style.  
Public PropertyCanFocusGets or sets whether the style marks cells as CanFocus. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public PropertyCanSerializeXmlGets whether the object in its entirety can be rendered with XML without losing any information. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public PropertyCellTypeOverridden. Gets or sets the cell type object for the style.  
Public PropertyEditorOverridden. Gets or sets the editor 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. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public PropertyFontOverridden. Gets or sets the font for the style.  
Public PropertyForeColorOverridden. Gets or sets the text color for the style.  
Public PropertyFormatterOverridden. Gets or sets the formatter for the style.  
Public PropertyHorizontalAlignOverridden. Gets or sets the horizontal alignment for the style.  
Public PropertyImeModeOverridden. Gets 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. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public PropertyLockedOverridden. Gets or sets whether this style permits a cell to be edited.  
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. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public PropertyNameGets or sets the name of the style.  
Public PropertyParentOverridden. Gets or sets the name of the parent for the style.  
Public PropertyRendererOverridden. Gets or sets the renderer for the style.  
Public PropertyTabStopGets or sets whether the style marks cells as TabStop. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public PropertyVerticalAlignOverridden. Gets or sets the vertical alignment for the style.  
Top
Public Methods
 NameDescription
Public MethodCloneOverridden. Creates and returns a copy of this object.  
Public MethodCompareToCompares the current object with another object of the same type. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodComposeOverloaded. Composes style settings using the current style settings and those of a specified object. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodCopyFromOverridden. Copies the properties of the specified object to the current object.  
Public MethodDeserializeOverridden. Loads the style object from XML.  
Public MethodEqualsDetermines whether another object is a reference to this object.  
Public MethodGetAppearanceOverloaded. Gets the appearance settings for the StyleInfo object. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodGetHashCodeGets the hash code of this object.  
Public MethodIsPropertySetGets whether the specified style property is set. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodMergeOverloaded. Merges the style settings with the current object. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetOverloaded. Overridden. Resets all the named style properties to their default values.  
Public MethodResetBackColorResets the StyleInfo.BackColor property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetBackgroundResets the StyleInfo.Background property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetBorderResets the StyleInfo.Border property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetCanFocusResets the StyleInfo.CanFocus property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetCellTypeResets the StyleInfo.CellType property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetEditorResets the StyleInfo.Editor property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetEncodeValueResets the StyleInfo.EncodeValue property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetFontResets the StyleInfo.Font property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetForeColorResets the StyleInfo.ForeColor property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetFormatterResets the StyleInfo.Formatter property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetHorizontalAlignmentResets the StyleInfo.HorizontalAlign property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetImeModeResets the StyleInfo.ImeMode property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetLockedResets the StyleInfo.Locked property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetMarginResets the StyleInfo.Margin property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetNameResets the name of the style to the default (String.Empty).  
Public MethodResetParentResets the StyleInfo.Parent property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetRendererResets the StyleInfo.Renderer property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetTabStopResets the StyleInfo.TabStop property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodResetVerticalAlignmentResets the StyleInfo.VerticalAlign property to its default value. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodSameAppearanceCompares a StyleInfo object's appearance with the current object's appearance. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodSerializeOverridden. Saves the style object to XML.  
Public MethodSerialize2Saves the style information to XML using short names. (Inherited from FarPoint.Web.Spread.StyleInfo)
Public MethodToStringGets the value of the Name property.  
Top
Protected Methods
 NameDescription
Protected MethodOnChangedRaises the Changed event.  
Protected MethodSetFlagSets a flag to indicate whether a property has been set. (Inherited from FarPoint.Web.Spread.StyleInfo)
Top
Public Events
 NameDescription
Public EventChangedOccurs when the named style has changed.  
Top
Public Operators
public Operator Equality Determines whether two styles (a specified object and a NamedStyle object) are equal.
public Operator Inequality 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

 

 


Copyright © GrapeCity, inc. All rights reserved.