.net - Using ItemContainerGenerator make fire event SelectionChanged -


in wpf application call

surfacelistboxitem categoryitem = (surfacelistboxitem)categorieslistbox.itemcontainergenerator.containerfromitem(categorieslistbox.selecteditem); 

an event selectionchange for

categorieslistbox

fires. how avoid this? alternatively suggest me way how swap data template


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -