Top "Onrender" questions

Execute custom JavaScript code after rendering

How can I manually tell an owner-drawn WPF Control to refresh/redraw without executing measure or arrange passes?

We are doing custom drawing in a control subclass's OnRender. This drawing code is based on an external trigger and …

wpf custom-controls redraw invalidation onrender
How to redraw or refresh in OnRender?

I want to draw something dynamically. Following code shows my OnRender. I'm setting DrawItem somewhere in my program where I …

c# wpf drawing onrender
How to dynamically draw a timeline in WPF

I am trying to draw timelines in WPF. It should basically consist of 3 rectangles. It should look something like this (…

c# wpf xaml timeline onrender