Hi guys i’m trying to call a function when a match case is active without success can anyone help me.
while active / while true / while enabled don"t work in my case. while active and whiletrue work only if i change the page and come back again at this page.
<Match Value="{action}">
<Case String="Starting">
<Panel>
<AddingAnimation>
<Scale Factor="0" Delay="0.5" Duration="1" Easing="ElasticIn" />
</AddingAnimation>
<ScrollView AllowedScrollDirections="Horizontal">
<StackPanel Orientation="Horizontal" Padding="4">
<Selection MinCount="1" MaxCount="1" Value="{values}"/>
<CircleCategorie1 Title="order a" />
<CircleCategorie1 Title=order v"/>
<CircleCategorie1 Title="order x"/>
<CircleCategorie1 Title="order l"/>
</StackPanel>
</ScrollView>
</Panel>
</Case>
<Case String="blue">
<Rectangle Fill="#00f" Height="50" Width="50" />
</Case>
<Case String="take-adress">
<WhileEnabled>
<Callback Handler="{setSearchView}"/>
</WhileEnabled>
<WhileActive>
<Callback Handler="{setSearchView}"/>
</WhileActive>
<WhileTrue Value="true">
<Callback Handler="{setSearchView}"/>
</WhileTrue>
</Case>
</Match>