Gets or sets whether the element is allowed to paint.
            
            
            
Syntax
| Visual Basic (Declaration) |   | 
|---|
Public Overridable Property Redraw As Boolean  | 
 
| Visual Basic (Usage) |  Copy Code | 
|---|
Dim instance As ElementWindowless
Dim value As Boolean
 
instance.Redraw = value
 
value = instance.Redraw  | 
 
| C# |   | 
|---|
public virtual bool Redraw {get; set;} | 
 
            
            
            Property Value
Boolean value: 
true to redraw; 
false otherwise
 
            
			
			
            Remarks
            
            
            
Example
| csharp |  Copy Code | 
|---|
private void button1_Click(object sender, System.EventArgs e)
{
element.Redraw = true;
} | 
 
| Visual Basic |  Copy Code | 
|---|
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
element.Redraw = True
End Sub  | 
 
 
            
            
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
 
            
            
See Also