2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / C1Chart Class / Repaint Property

In This Topic
    Repaint Property
    In This Topic
    Determines whether the chart is repainted when its properties change.
    Syntax
    'Declaration
     
    Public Property Repaint As System.Boolean
    public System.bool Repaint {get; set;}
    Remarks
    When the Repaint property is false, chart repaints are minimized as chart properties are changed. This is useful when multiple chart properties will be changed in an event, and it is desired to reduce the flicker associated with repeated repaints. Note that it is very important to set Repaint to true when property changes have been completed. Failure to do so can result in a chart that never repaints.
    See Also