Skip to content

Commit 97a8095

Browse files
authored
Merge pull request #977 from ghost1372/Coverflow
Add Next, Previous and GoTo Method for CoverFlow
2 parents b1fef59 + 0315d10 commit 97a8095

File tree

1 file changed

+4
-0
lines changed
  • src/Shared/HandyControl_Shared/Controls/Cover/CoverFlow

1 file changed

+4
-0
lines changed

src/Shared/HandyControl_Shared/Controls/Cover/CoverFlow/CoverFlow.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ public void AddRange(IEnumerable<object> contentList)
171171
/// <param name="uri"></param>
172172
public void Add(Uri uri) => _contentDic.Add(_contentDic.Count, uri);
173173

174+
public void Next() => PageIndex++;
175+
176+
public void Prev() => PageIndex--;
177+
174178
protected override void OnMouseWheel(MouseWheelEventArgs e)
175179
{
176180
base.OnMouseWheel(e);

0 commit comments

Comments
 (0)