View Issue Details

IDProjectCategoryView StatusLast Update
0002055NoesisGUIUnitypublic2021-07-01 10:35
Reportersaarix Assigned Tosfernandez  
PrioritynormalSeveritymajor 
Status assignedResolutionopen 
Product Version3.0.12 
Target Version3.1 
Summary0002055: Parent command binding not working properly
Description

I tried parent binding command from UserControl to another, which works well in WPF. But once I played the project in Unity it stopped working.
As a base I am using this for of binding:
Command="{Binding Parent.DataContext.OpenHomeCommand, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}}"

I will attach screenshots of all my XAML and ViewModels involved so you can get better understanding of my usecase.
(It is from a quick demo that I created just to demonstrate this usecase)

Steps To Reproduce

After click on the button, it does not invoke command on MainViewModel.

Attached Files
MainViewModel.png (13,749 bytes)   
MainViewModel.png (13,749 bytes)   
MainWindow.png (32,085 bytes)   
MainWindow.png (32,085 bytes)   
Navbar.png (21,964 bytes)   
Navbar.png (21,964 bytes)   
PlatformAny

Activities

Issue History

Date Modified Username Field Change
2021-06-29 13:38 saarix New Issue
2021-06-29 13:38 saarix Tag Attached: C#
2021-06-29 13:38 saarix Tag Attached: Unity
2021-06-29 13:38 saarix File Added: MainViewModel.png
2021-06-29 13:38 saarix File Added: MainWindow.png
2021-06-29 13:38 saarix File Added: Navbar.png
2021-07-01 10:35 sfernandez Assigned To => sfernandez
2021-07-01 10:35 sfernandez Status new => assigned
2021-07-01 10:35 sfernandez Product Version => 3.0.12
2021-07-01 10:35 sfernandez Target Version => 3.1
2025-10-10 13:29 jsantos Category Unity3D => Unity