ComponentOne FlexGrid for WinForms
CellStyle Class Members
Properties  Methods 

C1.Win.C1FlexGrid Namespace : CellStyle Class

The following tables list the members exposed by CellStyle.

Public Properties
 NameDescription
Public PropertyGets or sets the color used to paint the cell background.  
Public PropertyGets or sets the style's background image.  
Public PropertyGets or sets the a value that determines how the style will scale and position background image.  
Public PropertyGets the CellBorder object associated with this style.  
Public PropertyGets or sets a pipe-delimited list of valid values.  
Public PropertyGets or sets an System.Collections.IDictionary used to associate cell values with display values.  
Public PropertyGets or sets the data type for the style.  
Public PropertyGets or sets which elements are defined in this style.  
Public PropertyGets or sets whether to show images, text, or both.  
Public PropertyGets or sets the mask string used to edit values.  
Public PropertyGets or sets the custom editor used to edit cells that have this style.  
Public PropertyGets or sets the font used to paint text in the cell.  
Public PropertyGets or sets the color of the text in the cell.  
Public PropertyGets or sets the format string used to display values.  
Public PropertyGets or sets the image alignment.  
Public PropertyGets or sets an System.Collections.IDictionary used to associate cell values with images.  
Public PropertyGets or sets the space between images and text in a cell, in pixels.  
Public PropertyGets or sets the margins between the edges of the cell and its contents, in pixels.  
Public PropertyGets or sets the style name.  
Public PropertyGets or sets the color of the text in the cell.  
Public PropertyGets the StringFormat element used for rendering strings when the C1FlexGridBase.UseCompatibleTextRendering property is set to true.  
Public PropertyGets or sets the text alignment.  
Public PropertyGets or sets the text direction.  
Public PropertyGets or sets the 3D effect used to paint text.  
Public PropertyGets or sets how long strings are trimmed to fit the cell.  
Public PropertyGets or sets arbitrary user data associated with this style.  
Public PropertyGets or sets whether long strings should automatically wrap within the cell.  
Top
Public Methods
 NameDescription
Public MethodOverloaded. Returns a compact string representation of this CellStyle.  
Public MethodOverloaded. Clears selected elements from this style.  
Public MethodDetermines whether two CellStyle objects are equal.  
Public MethodGets the content portion of a cell's rectangle.  
Public MethodServes as the default hash function.  
Public MethodGets the image portion of a cell's rectangle.  
Public MethodGets the text portion of a cell's rectangle.  
Public MethodCopies all elements defined in a source style to this style.  
Public MethodRebuilds this style based on a description contained in a string.  
Public MethodOverloaded. Renders a string and an image into a System.Drawing.Graphics object using this style.  
Top
See Also

Reference

CellStyle Class
C1.Win.C1FlexGrid Namespace