Determines whether the chart is repainted when its properties change.
Namespace:
C1.Win.C1ChartAssembly: C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)
Syntax
C# |
---|
[DefaultValueAttribute(true)] [RefreshPropertiesAttribute(RefreshProperties.Repaint)] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] public bool Repaint { get; set; } |
Visual Basic |
---|
<DefaultValueAttribute(True)> _ <RefreshPropertiesAttribute(RefreshProperties.Repaint)> _ <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _ Public Property Repaint As Boolean 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.