Skip to content

Commit

Permalink
Merge pull request #977 from ghost1372/Coverflow
Browse files Browse the repository at this point in the history
Add Next, Previous and GoTo Method for CoverFlow
  • Loading branch information
NaBian authored Nov 15, 2021
2 parents b1fef59 + 0315d10 commit 97a8095
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ public void AddRange(IEnumerable<object> contentList)
/// <param name="uri"></param>
public void Add(Uri uri) => _contentDic.Add(_contentDic.Count, uri);

public void Next() => PageIndex++;

public void Prev() => PageIndex--;

protected override void OnMouseWheel(MouseWheelEventArgs e)
{
base.OnMouseWheel(e);
Expand Down

0 comments on commit 97a8095

Please sign in to comment.