I have something like this (it is a lot more complex with Each and a Match wrapping each subtree). And I want the click to bring the ScrollToWeek node in to view. But I get an error when compiling, so my question is how to target ScrollToWeek?
<Panel>
<Panel Height="36" HitTestMode="LocalBoundsAndChildren">
<Clicked>
<BringIntoView Direction="Both" TargetNode="ScrollToWeek" />
</Clicked>
</Panel>
</Panel>
<ScrollView ux:Name="view">
<Panel ux:Name="ScrollToWeek">
</Panel>
</ScrollView>
Pages/Start/StartPage.ux(21): E8001: 'ScrollToWeek' declared in StartPage.ux(70) cannot be accessed from this scope.
/Users/jhsware/Fuse/Veckoappen/Pages/Start/StartPage.ux(21,1): Error E8001: 'ScrollToWeek' declared in StartPage.ux(70) cannot be accessed from this scope.
Pages/Start/StartPage.ux(21): E8001: There is nothing named 'ScrollToWeek' in this scope, and no global resources with that alias.
/Users/jhsware/Fuse/Veckoappen/Pages/Start/StartPage.ux(21,1): Error E8001: There is nothing named 'ScrollToWeek' in this scope, and no global resources with that alias.
Veckoappen.unoproj: E0000: Object reference not set to an instance of an object
/Users/jhsware/Fuse/Veckoappen/Veckoappen.unoproj(1,1): Error E0000: Object reference not set to an instance of an object