How do I disable ListBoxItems?

Ok here's my situation. I have a custom control that contains a ListBox. On some some screens, I need the ListBox to function normally with it's rollover and selected states. On one screen however, I need the items to not react to mouse input at all. It is contained inside of a Button on this screen and I need to it pass the Click event to the Button. Also I don't want the highlighted states to show on this screen either.

Using an ItemsControl works great if you will never need the ListBox functionality. I have tried setting Focusable=False on nearly everything associated with ListBox to no avail.

Thanks is advance for any help!
Lee




Answer this question

How do I disable ListBoxItems?