Spread Windows Forms 8.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 PropertyBorderOverridden. Gets or sets the border for the style.  
Public PropertyCanFocusOverridden. Gets or sets whether the user can set focus to the cell using the keyboard or mouse.  
Public PropertyCanSerializeXmlGets whether the object in its entirety can be rendered with XML without losing any information. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public PropertyCellPaddingOverridden. Gets or sets the amount of spaces for cell padding in the cell in pixels.  
Public PropertyCellTypeOverridden. Gets or sets the cell type for the style.  
Public PropertyEditorOverridden. Gets or sets the editor for the style.  
Public PropertyFontOverridden. Gets or sets the font for the style.  
Public PropertyFontStyleGets the font style applied to the cell for the style. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public PropertyForeColorOverridden. Gets or sets the text color for the style.  
Public PropertyFormatterOverridden. Gets or sets the formatter for the style.  
Public PropertyHorizontalAlignmentOverridden. Gets or sets the horizontal alignment for the named style.  
Public PropertyImeModeOverridden. Gets or sets the IME mode for the style.  
Public PropertyImeSentenceModeOverridden. Gets or sets the IME sentence mode for the style.  
Public PropertyInputScopeOverridden. Gets or sets the input scope for the style.  
Public PropertyIsEmptyGets whether there are no style settings set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public PropertyLockedOverridden. Gets or sets whether this style permits a cell to be edited when the sheet is protected.  
Public PropertyNameGets or sets the name of the style.  
Public PropertyNoteIndicatorColorOverridden. Gets or sets the color of the cell note indicator.  
Public PropertyNoteIndicatorPositionOverridden. Gets or sets the position of the note indicator for a cell.  
Public PropertyNoteIndicatorSizeOverridden. Gets or sets the size of the cell note indicator.  
Public PropertyNoteStyleOverridden. Gets or sets the style of cell notes for the cell 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 PropertyTabStopOverridden. Gets or sets whether the user can set focus to the cell using the Tab key.  
Public PropertyTextIndentOverridden. Gets or sets the amount to indent the text in a cell.  
Public PropertyVerticalAlignmentOverridden. Gets or sets the vertical alignment for the style.  
Public PropertyVisualStylesOverridden. Gets or sets the visual style setting for the named 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.Win.Spread.StyleInfo)
Public MethodComposeOverloaded. Composes style settings using the current style settings and those of a specified object. (Inherited from FarPoint.Win.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 MethodGetAppearanceGets the appearance settings for the specified object. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodGetHashCodeGets the hash code of this object.  
Public MethodIsBackColorSetGets whether the background color of the cell (BackColor property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsBorderSetGets whether the cell border (Border property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsCanFocusSetGets whether the focusable setting of the cell (CanFocus property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsCellPaddingSetGets whether the cell padding of the cell is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsCellTypeSetGets whether the type of cell (CellType property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsEditorSetGets whether the editor for the cell (Editor property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsFontSetGets whether the font of the cell (Font property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsForeColorSetGets whether the text color of the cell (ForeColor property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsFormatterSetGets whether the formatter for the cell (Formatter property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsHorizontalAlignmentSetGets whether the horizontal alignment of the cell contents (HorizontalAlignment property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsImeModeSetGets whether IME mode is on (ImeMode property set) for a cell. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsImeSentenceModeSetGets whether IME mode is on (ImeMode property set) for a cell. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsInputScopeSetGets whether input scope is on (InputScope property set) for a cell. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsLockedSetGets whether the locked setting of the cell (Locked property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsNoteIndicatorColorSetGets whether the cell note indicator color of the cell is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsNoteIndicatorPositionSetDetermines whether the cell note indicator position is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsNoteIndicatorSizeSetDetermines whether the cell note indicator size is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsNoteStyleSetGets whether the note style setting of the cell (NoteStyle property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsParentSetGets whether the parent of the cell (Parent property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsPropertySetGets whether the specified cell style setting (property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsRendererSetGets whether the renderer for the cell (Renderer property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsTabStopSetGets whether the tab stop setting of the cell (TabStop property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsTextIndentSetDetermines whether the text indent is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsVerticalAlignmentSetGets whether the vertical alignment of the cell contents (VerticalAlignment property) is set. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodIsVisualStyleSetGets whether visual styles are on (VisualStyles property set) for a cell. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodMergeOverloaded. Merges the style settings with the current object. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodResetOverridden. Resets all the named style properties to their default values.  
Public MethodResetBackColorOverridden. Resets the background color for the style to the default setting (not set).  
Public MethodResetBorderOverridden. Resets the border for the style to the default setting (not set).  
Public MethodResetCanFocusOverridden. Resets to its default value whether the user can set focus to the cell using the keyboard or mouse.  
Public MethodResetCellPaddingResets the cell padding. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodResetCellTypeOverridden. Resets the cell type for the style to the default setting (not set).  
Public MethodResetEditorOverridden. Resets the editor for the style to the default setting (not set).  
Public MethodResetFontOverridden. Resets the font for the style to the default setting (not set).  
Public MethodResetForeColorOverridden. Resets the text color for the style to the default setting (not set).  
Public MethodResetFormatterOverridden. Resets the formatter for the style to the default setting (not set).  
Public MethodResetHorizontalAlignmentOverridden. Resets the horizontal alignment for the style to the default setting (not set).  
Public MethodResetImeModeOverridden. Resets the IME mode for the style to the default setting (not set).  
Public MethodResetImeSentenceModeOverridden. Resets the IME sentence mode for the style to the default setting (not set).  
Public MethodResetInputScopeResets the StyleInfo.InputScope property to its default value. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodResetLockedOverridden. Resets to the default setting for the style whether this style permits a cell to be edited when the sheet is protected (not set).  
Public MethodResetNameResets the name of the style to the default (String.Empty).  
Public MethodResetNoteIndicatorColorOverridden. Resets to its default value the color of the note indicator for the style.  
Public MethodResetNoteIndicatorPositionOverridden. Resets to its default value the position of the note indicator for the style.  
Public MethodResetNoteIndicatorSizeOverridden. Resets to its default value the color of the note indicator for the style.  
Public MethodResetNoteStyleOverridden. Resets to the default setting the style of cell notes (not set).  
Public MethodResetParentResets the StyleInfo.Parent property to its default value. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodResetPropertyOverridden. Resets the specified property to the default setting (not set).  
Public MethodResetRendererOverridden. Resets the renderer for the style to the default setting (not set).  
Public MethodResetTabStopOverridden. Resets to its default value whether the user can set focus to the cell using the Tab key.  
Public MethodResetTextIndentResets the text indent. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodResetVerticalAlignmentOverridden. Resets the vertical alignment for the style to the default setting (not set).  
Public MethodResetVisualStylesResets the visual styles (XP themes) for the style to the default. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodSerializeOverridden. Saves the style object to XML.  
Public MethodSetAppearanceSets the appearance settings of an Appearance object into this object. (Inherited from FarPoint.Win.Spread.StyleInfo)
Public MethodToStringGets the value of the Name property.  
Top
Protected Methods
 NameDescription
Protected MethodOnChangedRaises the Changed event.  
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.Win.Spread Namespace
StyleName Property

User-Task Documentation

Creating and Applying a Style for Cells

 

 


Copyright © GrapeCity, inc. All rights reserved.