c# - ListBox transition when visibility is changed -


in application have listbox stackpanels in it, , within these stackpanels, header, , listbox it's visibility set collapsed

when listbox has collapsed visability set visible enter animation, technique use these sorts of things doesn't seem work.

listboxofsongs.visibility = system.windows.visibility.visible;  slidetransition slidetransition = new slidetransition(); slidetransition.mode = slidetransitionmode.slidedownfadein; itransition transition = slidetransition.gettransition(listboxofsongs); transition.completed += delegate {     transition.stop(); }; 

i have tried fiddeling around , trying research different techniques, either couldn't find anything, or found them complicated.

so grateful if tell me i'm doing wrong, or different technique follow.

thanks help.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -