Hi,
i want to port my pdf viewer from windows forms to wpf.
i used the method onPaint in windows forms. But onPaint is not available in WPF.
protected override void OnPaint(PaintEventArgs e)
{
if (base.GetDoc() == null)
{
return;
}
//Draw something
}
If the user select an menu button i want to draw something. is there any way to do this also in wpf?