use style to apply the controltemplate
dynamically change the skin of the software by loading different resources
listbox template and listboxitem template try