Gets or sets the image used for ErrorProvider.
[Visual Basic]
Public Property ErrorImage As Image
[C#]
public Image ErrorImage {get;set;}
[Delphi]
public property ErrorImage: Image read get_ErrorImage write set_ErrorImage;
Example
The following code sets the ErrorImage property to error.bmp:
Me.C1TrueDBGrid1.ErrorImage = System.Drawing.Image.FromFile("c:\error.bmp")
· C#
this.c1TrueDBGrid1.ErrorImage = System.Drawing.Image.FromFile("c:\error.bmp");
· Delphi
Self.C1TrueDBGrid1.ErrorImage := System.Drawing.Image.FromFile('c:\error.bmp');
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |