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

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

ios - MKMapView fails to load tiles with HTTP 410 error -

c# - How to utilize EF and LINQ to add filters and specify tables, columns, filters and order by dynamically -