Gets or sets the Image used in the record selector to indicate the FilterBar row.
[Visual Basic]
Public Property PictureFilterBar As Image
[C#]
public Image PictureFilterBar {get;set;}
[Delphi]
public property PictureFilterBar: Image read get_PictureFilterBar write set_PictureFilterBar;
Remarks
By default, C1TrueDBGrid does not display a picture for this row. However, a different bitmap can be specified in the designer or in code.
Note: The grid draws three-dimensional effects within the record selector column, so you only the interior image needs to be provided.
Example
A bitmap can be assigned to the PictureFilterBar property using the following code:
Me.C1TrueDBGrid1.PictureFilterBar = System.Drawing.Image.FromFile("funnel.bmp")
· C#
this.c1TrueDBGrid1.PictureFilterBar = System.Drawing.Image.FromFile("funnel.bmp");
· Delphi
Self.C1TrueDBGrid1.PictureFilterBar := System.Drawing.Image.FromFile('funnel.bmp');
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |