FlexGrid for WinForms
Glyphs Property
Example 



Gets the collection of control glyphs (images used to show sorting, check boxes, etc).
Syntax
'Declaration
 
<C1DescriptionAttribute("Gets the collection of control glyphs (images used to show sorting, CheckBoxes, etc).")>
<BrowsableAttribute(False)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
Public ReadOnly Property Glyphs As GridGlyphs
'Usage
 
Dim instance As C1FlexGridBase
Dim value As GridGlyphs
 
value = instance.Glyphs
[C1Description("Gets the collection of control glyphs (images used to show sorting, CheckBoxes, etc).")]
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public GridGlyphs Glyphs {get;}
[C1Description("Gets the collection of control glyphs (images used to show sorting, CheckBoxes, etc).")]
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public:
property GridGlyphs^ Glyphs {
   GridGlyphs^ 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;
Requirements

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

Reference

C1FlexGridBase Class
C1FlexGridBase Members

 

 


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

Send Feedback