System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element

2 posts, 0 answers
  1. Miha Markic
    Miha Markic avatar
    48 posts
    Member since:
    Jan 2006

    Posted 16 Jul 2010 Link to this post

    If I put a Snippet
    <telerik:RadTransitionControl />
    element on the windows I am starting to get these kind of errors:

    System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=Foreground.Color; DataItem=null; target element is 'DropShadowEffect' (HashCode=31421563); target property is 'Color' (type 'Color')

    Note that transition control is empty (no content) and the error originates from a style I have somewhere defined. I assume transition control does something with styles.
    Not also that this isn't a stopping error but rather an annoyance in output window.
  2. George
    Admin
    George avatar
    1332 posts

    Posted 21 Jul 2010 Link to this post

    Hi Miha Markic,

    Thank you for contacting us.

    Can you tell us which version of controls you are use? Is this WPF 4.0 or WPF 3.5? Please, give us some more information about these errors, so we can investigate the problem. It would be very helpful if you could send us a sample project that reproduces the problem.

    Please do not hesitate to contact us if you require any further information.

    All the best,
    George
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top