Spread Windows Forms 7.0 Product Documentation
Redraw Property
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > ElementWithButtons Class : Redraw Property


Glossary Item Box

Gets or sets whether the element is allowed to paint.

Syntax

Visual Basic (Declaration) 
Public Overrides Property Redraw As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ElementWithButtons
Dim value As Boolean
 
instance.Redraw = value
 
value = instance.Redraw
C# 
public override bool Redraw {get; set;}

Property Value

true to redraw the display; false otherwise

Remarks

Setting this property to false can speed up your application during certain operations. Set this property to false when adding large amounts of data or when making many changes to an element; then when you are finished, reset this property to true. The items on the screen that have changed since this property was set to false are then refreshed.

Note: Even if you set this property to false, some changes might be shown on the screen, depending on the type of changes and the order in which they are made.

This property is available at run time only.

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.