What you are most probably talking about is the dotted line around the selection of a listbox. There is a discussion on SO that talks about how it can be achieved to omit having that dotted border:
WPF: Remove dotted border around focused item in styled listbox
]. Refer to Jobi Joys answer.