simsenVejle
Well-known member
- Joined
- Feb 14, 2021
- Messages
- 46
- Programming Experience
- Beginner
Hi
I get the errorCode XDG0003. I can understand (while googeling" that is a name I don't make. And it is the name Path. I have several path. Some I can change to the right one. But some I have problems with. Let's take one of them:
If I change in the ElementName or the Path name, I don't get the correct answer which is selected item in the LivComponents' id
If I do nothing and run the code, it shows the correct answer each time. No errors. It's only if I open the page, I can see there is an error in VS.
Can anyone of you please guide me to what I have to do?
I get the errorCode XDG0003. I can understand (while googeling" that is a name I don't make. And it is the name Path. I have several path. Some I can change to the right one. But some I have problems with. Let's take one of them:
Label:
<Label x:Name="LblComponentActiveId" Margin="0 0 8 0" Content="{Binding ElementName=LivComponents, Path=SelectedValue.ComponentId, Mode = TwoWay}"
Grid.Row="1" Grid.Column="2" Style="{StaticResource Label}" HorizontalContentAlignment="Left" />
If I change in the ElementName or the Path name, I don't get the correct answer which is selected item in the LivComponents' id
If I do nothing and run the code, it shows the correct answer each time. No errors. It's only if I open the page, I can see there is an error in VS.
Can anyone of you please guide me to what I have to do?