Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementWindowless Class / MarginBottom Property
Example


In This Topic
    MarginBottom Property (ElementWindowless)
    In This Topic
    Gets or sets the margin between the bottom of the element and its contents.
    Syntax
    'Declaration
     
    
    Public Overridable Property MarginBottom As Integer
    'Usage
     
    
    Dim instance As ElementWindowless
    Dim value As Integer
     
    instance.MarginBottom = value
     
    value = instance.MarginBottom
    public virtual int MarginBottom {get; set;}
    Example
    element.Picture = System.Drawing.Image.FromFile("d:\\mail16A.ico");
    element.AlignText = FarPoint.Win.TextAlign.TextLeftPictRight;
    element.PictureMargin = 25;
    element.MarginBottom = 20;
    element.Picture = System.Drawing.Image.FromFile("d:\mail16A.ico")
    element.AlignText = FarPoint.Win.TextAlign.TextLeftPictRight
    element.PictureMargin = 25
    element.MarginBottom = 20
    See Also