VisualElement.MarkDirtyRepaint

Declaration

public void MarkDirtyRepaint();

Description

Marks that the VisualElement requires a repaint.

Don't call this method when you change the styles or properties of built-in controls, as this is automatically called when necessary. However, you might need to call this method when your element has a custom generateVisualContent that needs to be triggered, such as after you change a custom style or property.


Did you find this page useful? Please give it a rating: