TIvorySurface::DrawBackground

Determines whether the BackgroundBitmap or the BackgroundSurface should be drawn on the surface before the OnPaint event.

__property bool DrawBackground;

Description

Set DrawBackground to true if you want to draw a background bitmap or a background surface on the surface. The change of this property will automatically invalidate the surface. The new background doesn't take effect automatically; you must call Paint to repaint the surface with the new background. The default value for DrawBackground is false.

Back to TIvorySurface