.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

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

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

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