FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / StyleElementFlags Enumeration

In This Topic
    StyleElementFlags Enumeration
    In This Topic
    Contains flags that specify which style elements are defined in a CellStyle object.
    Syntax
    'Declaration
     
    
    Public Enum StyleElementFlags 
       Inherits System.Enum
    public enum StyleElementFlags : System.Enum 
    Members
    MemberDescription
    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.
    Remarks

    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

    System.Object
       System.ValueType
          System.Enum
             C1.Win.FlexGrid.StyleElementFlags

    See Also