Skip to content

Commit 28356e7

Browse files
committed
Make Methods Public
1 parent 5ffa514 commit 28356e7

File tree

3 files changed

+22153
-12723
lines changed

3 files changed

+22153
-12723
lines changed

dev/DevWinUI.Controls/Controls/Win2DAndComposition/CarouselView/CarouselView.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ private void _dispatcherTimer_Tick(object sender, object e)
461461
}
462462
}
463463

464-
private void GotoNext()
464+
public void GotoNext()
465465
{
466466
// Avoid null crash
467467
if (ItemImageSource == null || ItemImageSource.Count == 0)
@@ -500,7 +500,7 @@ private void GotoNext()
500500
MeasureItemsPosition(newindex, oldindex);
501501
}
502502

503-
private void GotoPrevious()
503+
public void GotoPrevious()
504504
{
505505
// Avoid null crash
506506
if (ItemImageSource == null || ItemImageSource.Count == 0)

dev/DevWinUI.Controls/Controls/Win2DAndComposition/ContentSlider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ private void OnPipsPagerSelectedIndexChanged(PipsPager sender, PipsPagerSelected
139139

140140
SlideTo(delta);
141141
}
142-
private void SlideTo(int direction)
142+
public void SlideTo(int direction)
143143
{
144144
if (isAnimating || itemCache.Count < 2)
145145
return;

0 commit comments

Comments
 (0)