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.