FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / C1FlexGridBase Class / Glyphs Property
Example

In This Topic
    Glyphs Property (C1FlexGridBase)
    In This Topic
    Gets the collection of control glyphs (images used to show sorting, check boxes, etc).
    Syntax
    'Declaration
     
    
    Public ReadOnly Property Glyphs As GridGlyphs
    public GridGlyphs Glyphs {get;}
    Remarks

    The Glyphs property returns a GridGlyphs collection with an indexer of type GlyphEnum. This collection allows you to get or set the images used to indicate column sorting, collapsed and expanded outline groups, check boxes, cursors, error information, etc.

    Note: Setting a glyph to null restores the default (built-in) image. If you want to make a glyph invisible, set it to a small blank image instead.

    Example
    For example, the code below causes the grid to use custom images to display the column sorting order (instead of the built-in hollow triangles):
    flex.Glyphs[GlyphEnum.Ascending]  = imgAscending;
    flex.Glyphs[GlyphEnum.Descending] = imgDescending;
    See Also