How can I find out how my WPF usercontrol is being highlighted?

Posted on 2014-08-05
Last Modified: 2014-08-25
I am a contractor and still relatively new to WPF.  At my new contract I am working on a MVVM windows App using Prism.  After loading my my controls in my "MainRegion" they highlight (change background color) on mouse over.  I have searched hi and low for the code that is doing this and have not found it.  

This code base does have a FormDictionary in it that is referenced in my base View and in the ContentControl referenced Views I have placed on the base View.  The ContentControl referenced views are of type UserControl.
Question by:Bruce
    LVL 25

    Accepted Solution

    Can't you override "Mouseover" event for that control ?
    LVL 1

    Author Comment

    Since I posted this I have discovered that my usercontrol is being "contained" within a DevExpress NavBarItem.  My co-workers have pointed me in that direction to find the culprit property.

    I appreciate the DevEx controls but I've not found it easy to find things in their documentation.  Apparently this is a default behavior for this control but I can't find documentation on that either.

    Any thoughts given this new info?
    LVL 25

    Expert Comment

    Doesn't this control allows you to have custom template ? or edit its template and triggers for mouse over event ?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
    Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now