I have used the PAINT event to draw a wave on a Panel in Winows Form Application. But when using it WPF, I didn’t find any such element equivalent to a Panel which has a Paint Event. Googled a lot too but no great use.
Well, I need to draw a waveform in WPF so suggest appropriate solutions wrt PaintArgsEvent or a new solution altogether.
Thank You!
You are looking for the
DrawingVisualClassFrom first Link:
You also have access to a PolyLine Class that you can add a point Collection to. This example is a modified MSDN Forum example
And a Modified MSDN example: