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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -