FlexGrid for WinForms
StyleElementFlags Enumeration

Contains flags that specify which style elements are defined in a CellStyle object.
Public Enum StyleElementFlags 
   Inherits System.Enum
Dim instance As StyleElementFlags
public enum StyleElementFlags : System.Enum 
public enum class StyleElementFlags : public System.Enum 
AllAll style elements.
BackColorThe style defines a background color.
BackgroundImageThe style specifies a background image.
BackgroundImageLayoutThe style specifies a background image alignment.
BorderThe style defines borders.
ComboListThe style defines a list of choices used to populate drop down editors.
DataMapThe style defines an System.Collections.IDictionary used to associate cell data with display values.
DataTypeThe style defines the System.Type of values contained in the cells.
DisplayThe style defines whether to display text and/or images, in the cells.
EditMaskThe style defines an edit mask used to constrain values entered in the cells.
EditorThe style defines an external control to be used as an editor for the cells.
FontThe style defines a font.
ForeColorThe style defines a foreground color.
FormatThe style defines a format string used to convert data into strings.
ImageAlignThe style defines the image alignment.
ImageMapThe style defines an System.Collections.IDictionary used to associate cell data with images.
ImageSpacingThe style defines the spacing between images and text.
MarginsThe style defines margins.
NoneNo elements are defined.
SearchBackColorThe style defines a background color of found text.
TextAlignThe style defines the text alignment.
TextDirectionThe style defines whether text should be rendered horizontally or vertically.
TextEffectThe style defines a 3D effect for the text.
TrimmingThe style defines how long strings are trimmed to fit within cells.
UserDataThe style contains arbitrary user data (not used by the control).
WordWrapThe style defines whether long strings are allowed to wrap within cells.

This enumeration can be used to inspect styles and determine which elements it defines, and it can also be used to clear specific elements from the style.

Any elements not defined in the style are inherited from the parent style.

Inheritance Hierarchy



Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


C1.Win.C1FlexGrid Namespace



Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback