© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
5 replies
hugeman

Cannot find governing FrameworkElement or FrameworkContentElement for target element

I'm trying to make something similar to the
UIElement
UIElement
's
InputBindings
InputBindings
, but for some reason, I'm getting this error in the debug output:
Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=DoSomethingCommand; DataItem=null; target element is 'CustomInputBindingThing' (HashCode=53330552); target property is 'Command' (type 'ICommand')
Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=DoSomethingCommand; DataItem=null; target element is 'CustomInputBindingThing' (HashCode=53330552); target property is 'Command' (type 'ICommand')
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Selenium-unable to find element
C#CC# / help
11mo ago
❔ Cannot find "New Project" for Hello World
C#CC# / help
3y ago
Cannot find RemoteCertificateValidationCallback in ClientWebSocketOptions
C#CC# / help
2y ago
❔ ProtoBuf cannot find imports
C#CC# / help
4y ago