View Issue Details

IDProjectCategoryView StatusLast Update
0002610NoesisGUIC++ SDKpublic2023-05-26 17:55
Reporteranton.sodergren_pdx Assigned Tosfernandez  
Status assignedResolutionopen 
Product Version3.1.4 
Target Version3.2 
Summary0002610: Namescope is of UserControl is used when resolving names outside of the UserControl's file
DescriptionWhen using a UserControl of one type inside of a UserControl of another type, and both of the root nodes are named the same (for example "Root), bindings using ElementName can be resolved incorrectly. Particularly this happens if one tries to set a property of the child element to a binding that uses ElementName, with the specified name being "Root" in this case. Instead of binding to a property of the parent control named "Root", it will bind to a property of the child control that's also named "Root".

This used to be how it worked in WPF too, but has since been patched by Microsoft.

See this forum post for details and a minimal example:
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-05-26 15:47 anton.sodergren_pdx New Issue
2023-05-26 17:55 sfernandez Assigned To => sfernandez
2023-05-26 17:55 sfernandez Status new => assigned
2023-05-26 17:55 sfernandez Target Version => 3.2