FarPoint.Win Assembly > FarPoint.Win Namespace > ElementStyle Class : ForegroundImage Property |
'Declaration Public Overridable Property ForegroundImage As Picture
'Usage Dim instance As ElementStyle Dim value As Picture instance.ForegroundImage = value value = instance.ForegroundImage
public virtual Picture ForegroundImage {get; set;}
The style can specify layers of pictures. When displayed, the first layer consists of a foreground picture, next comes the content, such as text and a picture, then comes the background picture, and finally, the background of the object, which displays the background color.
Set this property to specify the foreground picture layer. Set the BackgroundImage property to specify the background picture layer. Set the Picture property to specify the picture in the content layer.
Set other features for the foreground picture using the following Picture class properties:
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10