Spread.Sheets Documentation
Style class
Represents the style for a cell, row, and column.
Syntax
var instance = new GC.Spread.Sheets.Style(backColor,
                                         foreColor,
                                         hAlign,
                                         vAlign,
                                         font,
                                         themeFont,
                                         formatter,
                                         borderLeft,
                                         borderTop,
                                         borderRight,
                                         borderBottom,
                                         locked,
                                         textIndent,
                                         wordWrap,
                                         shrinkToFit,
                                         backgroundImage,
                                         cellType,
                                         backgroundImageLayout,
                                         tabStop,
                                         textDecoration,
                                         imeMode,
                                         name,
                                         parentName,
                                         watermark,
                                         cellPadding,
                                         labelOptions);
function Style;
Inheritance Hierarchy

Object
   GC.Spread.Sheets.Style

Constructors
 NameDescription
public ConstructorStyle ConstructorRepresents the style for a cell, row, and column.  
Top
Fields
 NameDescription
public FieldbackColorIndicates the background color.  
public FieldbackgroundImageIndicates the background image.  
public FieldbackgroundImageLayoutIndicates the background image layout.  
public FieldborderBottomIndicates the bottom border line.  
public FieldborderLeftIndicates the left border line.  
public FieldborderRightIndicates the right border line.  
public FieldborderTopIndicates the top border line.  
public FieldcellPaddingIndicates the cell padding.  
public FieldcellTypeIndicates the cell type.  
public FieldfontIndicates the font.  
public FieldforeColorIndicates the foreground color.  
public FieldformatterIndicates the formatter.  
public FieldhAlignIndicates the horizontal alignment.  
public FieldimeModeIndicates the Input Method Editor (IME) mode.  
public FieldlabelOptionsIndicates the cell label options.  
public FieldlockedIndicates whether a cell is marked as locked from editing.  
public FieldnameIndicates the name.  
public FieldparentNameIndicates the name of the parent style.  
public FieldshrinkToFitIndicates whether to shrink to fit.  
public FieldtabStopIndicates whether the user can set focus to the cell using the Tab key.  
public FieldtextDecorationIndicates the decoration added to text.  
public FieldtextIndentIndicates the number of units of indentation for text in a cell, an integer value, where an increment of 1 represents 8 pixels.  
public FieldthemeFontIndicates the font theme.  
public FieldvalidatorIndicates the data validator.  
public FieldvAlignIndicates the vertical alignment.  
public FieldwatermarkIndicates the watermark content.  
public FieldwordWrapIndicates whether to wrap text.  
Top
Methods
 NameDescription
public MethodcloneClones the current style.  
Top
See Also

Reference

GC.Spread.Sheets Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.