VM:
public ICommand ScrollUpCommand { get; } public ICommand ScrollDownCommand { get; } public VM(){ ScrollUpCommand = new Command(ScrollHappening); ScrollDownCommand = new Command(ScrollHappening); } private void ScrollHappening(object obj) { Debug.WriteLine("Scroll happening"); }
The Debug lines do not get written.
Platform (please complete the following information):
Describe the bug The ScrollingDown, ScrollingUp Commands do not fire in my Vertical sharpnado CollectionView.
To Reproduce Steps to reproduce the behavior: XAML: `In my Sharpnado CollectionView I have the following:
<sho:CollectionView x:Name="FeedCollectionView" CurrentIndex="0" Margin="0,30" ItemSpacing="8" ItemTemplate="{StaticResource FeedDataTemplateSelector}" ScrollingDownCommand="{Binding ScrollUpCommand}" ScrollingUpCommand="{Binding ScrollDownCommand}" CollectionLayout="Vertical"> </sho:CollectionView>
VM:
public ICommand ScrollUpCommand { get; } public ICommand ScrollDownCommand { get; } public VM(){ ScrollUpCommand = new Command(ScrollHappening); ScrollDownCommand = new Command(ScrollHappening); } private void ScrollHappening(object obj) { Debug.WriteLine("Scroll happening"); }
The Debug lines do not get written.