Spread WinForms 15
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementWindowless Class / BackgroundImage Property
Example


In This Topic
BackgroundImage Property (ElementWindowless)
In This Topic
Gets or sets the background image for the control.
Syntax
'Declaration
 
Public Overridable Property BackgroundImage As Picture
 
'Usage
 
Dim instance As ElementWindowless
Dim value As Picture
 
instance.BackgroundImage = value
 
value = instance.BackgroundImage
Example
control.BackgroundImage = new FarPoint.Win.Picture(Image.FromFile("d:\overlay.bmp"));
control.MarginTop = 3;
control.MarginBottom = 3;
See Also