Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementWindowless Class / ShouldSerializePictureTransparencyColor Method
Example


In This Topic
    ShouldSerializePictureTransparencyColor Method (ElementWindowless)
    In This Topic
    Indicates whether the PictureTransparencyColor property should be persisted.
    Syntax
    'Declaration
     
    
    Public Overridable Function ShouldSerializePictureTransparencyColor() As Boolean
    'Usage
     
    
    Dim instance As ElementWindowless
    Dim value As Boolean
     
    value = instance.ShouldSerializePictureTransparencyColor()
    public virtual bool ShouldSerializePictureTransparencyColor()

    Return Value

    The transparency color
    Example
    control.Picture = Image.FromFile("d:\overlay.bmp");
    control.MarginTop = 3;
    control.MarginBottom = 3;
    control.PictureTransparencyColor = Color.Blue;
    control.Picture = Image.FromFile("d:\overlay.bmp")
    control.MarginTop = 3
    control.MarginBottom = 3
    control.PictureTransparencyColor = Color.Blue
    See Also