We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6ff682 commit 14bb9e0Copy full SHA for 14bb9e0
src/Shared/HandyControl_Shared/Controls/Cover/CoverFlow/CoverFlow.cs
@@ -186,20 +186,9 @@ public void AddRange(IEnumerable<object> contentList)
186
/// </summary>
187
public void JumpTo(int index) => _jumpToIndex = index;
188
189
- public void Next()
190
- {
191
- PageIndex = PageIndex + 1;
192
- }
+ public void Next() => PageIndex++;
193
194
- public void Previous()
195
196
- PageIndex = PageIndex - 1;
197
198
-
199
- public void GoTo(int index)
200
201
- PageIndex = index;
202
+ public void Prev() => PageIndex--;
203
204
protected override void OnMouseWheel(MouseWheelEventArgs e)
205
{
0 commit comments