c# - Textblock crash and Image refresh -


i have problem ui of app. first of textblock crashes when try scroll it. happen when there lots of rows in (like 500). use textblock view log file saved in applicationdata folder.

<scrollviewer x:name="scrolllog" visibility="collapsed" grid.row="2">     <textblock x:name="textlog" text="" textwrapping="wrap"/> </scrollviewer> 

there's maximum of rows textblock can handle?

second problem image control doesn't refresh. use code load different images in it.

file = await applicationdata.current.localfolder.getfileasync(imagename); irandomaccessstream stream = await file.openasync(fileaccessmode.read); await currentwallpaper.setsourceasync(stream); currentwallpaperimage.source = currentwallpaper; stream.dispose(); 

how can solve problem? maybe can force refresh of control?


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -