Gets or sets the Image used in the record selector to indicate the Standard row.
[Visual Basic]
Public Property PictureStandardRow As Image
[C#]
public Image PictureStandardRow {get;set;}
[Delphi]
public property PictureStandardRow: Image read get_PictureStandardRow write set_PictureStandardRow;
Remarks
By default, C1TrueDBGrid does not display a picture for standard rows. 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 only the interior image needs to be provided.
Example
A bitmap can be assigned to the PictureStandardRow property using the following code:
Me.C1TrueDBGrid1.PictureStandardRow = System.Drawing.Image.FromFile("star.bmp")
· C#
this.c1TrueDBGrid1.PictureStandardRow = System.Drawing.Image.FromFile("star.bmp");
· Delphi
Self.C1TrueDBGrid1.PictureStandardRow := System.Drawing.Image.FromFile('star.bmp');
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |