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


In This Topic
    Redraw Property (ElementWindowless)
    In This Topic
    Gets or sets whether the element is allowed to paint.
    Syntax
    'Declaration
     
    
    Public Overridable Property Redraw As Boolean
    'Usage
     
    
    Dim instance As ElementWindowless
    Dim value As Boolean
     
    instance.Redraw = value
     
    value = instance.Redraw
    public virtual bool Redraw {get; set;}
    Example
    private void button1_Click(object sender, System.EventArgs e)
    {
    element.Redraw = true;
    }
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    element.Redraw = True
    End Sub
    See Also