Defines the error image shown when the control's contents are invalid.
Get
| C# | SftPictureObject refImageObj = object.ImageInvalid; |
| VB.NET | refImageObj = object.ImageInvalid As SftPictureObject |
| C++ | ISftPictureObject* refImageObj = object->ImageInvalid; ISftPictureObject* refImageObj = object->GetImageInvalid(); |
| C | HRESULT object->get_ImageInvalid(ISftPictureObject** refImageObj); |
| VB | Set refImageObj = object.ImageInvalid As SftPictureObject |
Put
| C# | SftPictureObject object.ImageInvalid = refImageObj; |
| VB.NET | object.ImageInvalid = refImageObj As SftPictureObject |
| C++ | ISftPictureObject* object->ImageInvalid = refImageObj; void object->PutImageInvalid(ISftPictureObject* refImageObj); |
| C | HRESULT object->put_ImageInvalid(ISftPictureObject* refImageObj); |
| VB | object.ImageInvalid = refImageObj As SftPictureObject |
object
refImageObj
Defines the error image shown when the control's contents are invalid.
The ImageInvalid property defines the error image shown when the control's contents are invalid (based on the defined Mask or the CustomValidation event). In addition, the MessageInvalid property defines the tooltip shown, when the mouse cursor hovers over the error image.
The ImageEmpty, ImageInvalid, ImageRequired, ErrorPosition and ErrorHandling properties are used to control the appearance and behavior of the error image.
See Also SftMask Object | Object Hierarchy