Spread Windows Forms 10.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 background color of the cell for the style.  
Public PropertyBorderGets or sets the border of the cell style.  
Public PropertyCanFocusGets 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.  
Public PropertyCellPaddingGets or sets the number of spaces to add to the cell(s) in pixels.  
Public PropertyCellTypeGets or sets the type of cell for the style.  
Public PropertyEditorGets or sets the editor of the cell style.  
Public PropertyFontGets or sets the font settings of the cell for the style.  
Public PropertyFontStyleGets the font style applied to the cell for the style.  
Public PropertyForeColorGets or sets the text color of the cell for the style.  
Public PropertyFormatterGets or sets the formatter of the cell style.  
Public PropertyHorizontalAlignmentGets or sets the horizontal alignment of the contents of the cell for the style.  
Public PropertyImeModeGets or sets the IME mode of the cell style.  
Public PropertyImeSentenceModeGets or sets the ImeSentenceMode of the cell style.  
Public PropertyInputScopeGets or sets the input scope of the cell style.  
Public PropertyIsEmptyGets whether there are no style settings set.  
Public PropertyLockBackColorGets or sets the background color of locked cell //FB#222758 briannguyen 2016/12/13  
Public PropertyLockedGets or sets the whether the style marks cells as locked.  
Public PropertyLockFontGets or sets the font for locked cells //FB#222758 briannguyen 2016/12/13  
Public PropertyLockForeColorGets or sets the foreground color of locked cells //FB#222758 briannguyen 2016/12/13  
Public PropertyNoteIndicatorColorGets or sets the color of the cell note indicator.  
Public PropertyNoteIndicatorPositionGets or sets the position of the cell note indicator.  
Public PropertyNoteIndicatorSizeGets or sets the size of the cell note indicator.  
Public PropertyNoteStyleGets or sets the note style of the cell for the style.  
Public PropertyParentGets or sets the name of the parent (NamedStyle object) of the style.  
Public PropertyRendererGets or sets the renderer of the cell style.  
Public PropertyTabStopGets or sets whether the user can set focus to the cell using the Tab key.  
Public PropertyTextIndentGets or sets the amount to indent the text in a cell for the style.  
Public PropertyVerticalAlignmentGets or sets the vertical alignment of contents of the cell for the style.  
Public PropertyVisualStylesGets or sets whether visual styles are on or off for the cell.  
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 style information from XML.  
Public MethodEqualsDetermines whether the style settings of this object are equivalent to the object specified.  
Public MethodGetAppearanceGets the appearance settings for the specified object.  
Public MethodGetHashCodeGets the hash code of this object.  
Public MethodIsBackColorSetGets whether the background color of the cell (BackColor property) is set.  
Public MethodIsBorderSetGets whether the cell border (Border property) is set.  
Public MethodIsCanFocusSetGets whether the focusable setting of the cell (CanFocus property) is set.  
Public MethodIsCellPaddingSetGets whether the cell padding of the cell is set.  
Public MethodIsCellTypeSetGets whether the type of cell (CellType property) is set.  
Public MethodIsEditorSetGets whether the editor for the cell (Editor property) is set.  
Public MethodIsFontSetGets whether the font of the cell (Font property) is set.  
Public MethodIsForeColorSetGets whether the text color of the cell (ForeColor property) is set.  
Public MethodIsFormatterSetGets whether the formatter for the cell (Formatter property) is set.  
Public MethodIsHorizontalAlignmentSetGets whether the horizontal alignment of the cell contents (HorizontalAlignment property) is set.  
Public MethodIsImeModeSetGets whether IME mode is on (ImeMode property set) for a cell.  
Public MethodIsImeSentenceModeSetGets whether IME mode is on (ImeMode property set) for a cell.  
Public MethodIsInputScopeSetGets whether input scope is on (InputScope property set) for a cell.  
Public MethodIsLockBackColorSetGets whether the lockedBackColor setting of the cell (LockBackColor property) is set.  
Public MethodIsLockedSetGets whether the locked setting of the cell (Locked property) is set.  
Public MethodIsLockFontSetGets whether the lockedFont setting of the cell (LockFont property) is set.  
Public MethodIsLockForeColorSetGets whether the lockedForeColor setting of the cell (LockForeColor property) is set.  
Public MethodIsNoteIndicatorColorSetGets whether the cell note indicator color of the cell is set.  
Public MethodIsNoteIndicatorPositionSetDetermines whether the cell note indicator position is set.  
Public MethodIsNoteIndicatorSizeSetDetermines whether the cell note indicator size is set.  
Public MethodIsNoteStyleSetGets whether the note style setting of the cell (NoteStyle property) is set.  
Public MethodIsParentSetGets whether the parent of the cell (Parent property) is set.  
Public MethodIsPropertySetGets whether the specified cell style setting (property) is set.  
Public MethodIsRendererSetGets whether the renderer for the cell (Renderer property) is set.  
Public MethodIsTabStopSetGets whether the tab stop setting of the cell (TabStop property) is set.  
Public MethodIsTextIndentSetDetermines whether the text indent is set.  
Public MethodIsVerticalAlignmentSetGets whether the vertical alignment of the cell contents (VerticalAlignment property) is set.  
Public MethodIsVisualStyleSetGets whether visual styles are on (VisualStyles property set) for a cell.  
Public MethodMergeOverloaded. Merges the style settings with the current object.  
Public MethodResetResets all the style settings in the StyleInfo object to the default settings.  
Public MethodResetBackColorResets the BackColor property to its default value.  
Public MethodResetBorderResets the Border property to its default value.  
Public MethodResetCanFocusResets the CanFocus property to its default value.  
Public MethodResetCellPaddingResets the cell padding.  
Public MethodResetCellTypeResets the CellType property to its default value.  
Public MethodResetEditorResets the Editor 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 HorizontalAlignment property to its default value.  
Public MethodResetImeModeResets the ImeMode property to its default value.  
Public MethodResetImeSentenceModeResets the ImeSentenceMode property to its default value.  
Public MethodResetInputScopeResets the InputScope property to its default value.  
Public MethodResetLockBackColorResets the LockBackColor of the style to the default  
Public MethodResetLockedResets the Locked property to its default value.  
Public MethodResetLockFontResets the LockFont of the style to the default  
Public MethodResetLockForeColorResets the LockForeColor of the style to the default  
Public MethodResetNoteIndicatorColorResets the NoteIndicatorColor property to its default value.  
Public MethodResetNoteIndicatorPositionResets the cell note indicator position.  
Public MethodResetNoteIndicatorSizeResets the cell note indicator size.  
Public MethodResetNoteStyleResets the NoteStyle property to its default value.  
Public MethodResetParentResets the Parent property to its default value.  
Public MethodResetPropertyResets a style setting (property) to its default setting.  
Public MethodResetRendererResets the Renderer property to its default value.  
Public MethodResetTabStopResets the TabStop property to its default value.  
Public MethodResetTextIndentResets the text indent.  
Public MethodResetVerticalAlignmentResets the VerticalAlignment property to its default value.  
Public MethodResetVisualStylesResets the visual styles (XP themes) for the style to the default.  
Public MethodSerializeSaves the style information to XML.  
Public MethodSetAppearanceSets the appearance settings of an Appearance object into this object.  
Top
See Also

Reference

StyleInfo Class
FarPoint.Win.Spread Namespace
Appearance Class

User-Task Documentation

Creating and Applying a Style for Cells

 

 


Copyright © GrapeCity, inc. All rights reserved.