This question is locked. New answers and comments are not allowed.
I want to show advertise page to unregistered users which want to change value of listpicker.
In ViewModel:
It works for me.. from second time!
In first time, i see my new page, then i see listpicker in fullscreen mode.
But from the second time it works good.
What is the reason?
Thank you
<ti:RadListPicker x:Name="Filter" Margin="0,-12,0,0" Height="Auto" ItemsSource="{Binding FilterOptions}" SelectedIndex="{Binding SelectedIndex}" PopupItemTemplate="{StaticResource PopupFilterTemplate}" PopupHeader="Select date" ItemTemplate="{StaticResource InlineFilterTemplate}"> <i:Interaction.Triggers> <i:EventTrigger EventName="ManipulationStarted"> <mvvm:EventToCommand Command="{Binding TryShowFilterCommand}" PassEventArgsToCommand="True" /> </i:EventTrigger> </i:Interaction.Triggers> </ti:RadListPicker>In ViewModel:
TryShowFilterCommand = new RelayCommand<ManipulationStartedEventArgs>((e) => { bool isPremium = false; if (e != null) { if (!isPremium) { navigation.NavigateTo(ViewModelLocator.BuyFullVersionPage); e.Handled = true; e.Complete(); } }});In first time, i see my new page, then i see listpicker in fullscreen mode.
But from the second time it works good.
What is the reason?
Thank you
