c# - Redraw WPF UI when minimized -
i have c# wpf application software captured using open broadcaster software. when application in foreground or hidden application, works fine. however, if minimized, stps updating. makes sense, because usually, why need redraw if nobody can see it, not true case. possible somehow force ui redraw? possible call method every time ui update needed, because code need ui update/redraw looks (simplified):
private void displaysomething(int something) { somerectangle.fill = new solidcolorbrush(...); // redraw ui here }
edit: "update" might have been misleading term here. "redraw" may better.
so if works form behind other form, not let user minimize
form. set yourwindow.resizemode = resizemode.noresize;
Comments
Post a Comment