Spread Windows Forms 14.0
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementWindowless Class / ForegroundImage Property

In This Topic
    ForegroundImage Property (ElementWindowless)
    In This Topic
    Gets or sets the foreground image for the element.
    Public Overridable Property ForegroundImage As Picture
    Dim instance As ElementWindowless
    Dim value As Picture
    instance.ForegroundImage = value
    value = instance.ForegroundImage
    public virtual Picture ForegroundImage {get; set;}
    control.ForegroundImage = new FarPoint.Win.Picture(Image.FromFile("d:\overlay.bmp"));
    control.MarginTop = 3;
    control.MarginBottom = 3;
    control.ForegroundImage = New FarPoint.Win.Picture(Image.FromFile("d:\overlay.bmp"))
    control.MarginTop = 3
    control.MarginBottom = 3
    See Also