0
如何獲取代碼中的進度值? 這裏的XAML:在UWP中獲取PullRefreshProgressControl的進度值
<ptr:PullToRefreshBox x:Name="ptrBox" HorizontalAlignment="Center" VerticalAlignment="Top" RefreshInvoked="ptrBox_RefreshInvoked">
<ScrollViewer>
<StackPanel Name="SPMain" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
</StackPanel>
</ScrollViewer>
<ptr:PullToRefreshBox.TopIndicatorTemplate>
<DataTemplate>
<ptr:PullRefreshProgressControl Name="ProgressPTR" Progress="300" PullToRefreshText="Pull to refresh" ReleaseToRefreshText="Release"/>
</DataTemplate>
</ptr:PullToRefreshBox.TopIndicatorTemplate>
</ptr:PullToRefreshBox>
哪些進展價值? –
我想獲得用戶已經拉下來的像素數量,有點像滑塊值 – user3159792
什麼是您正在使用的PullToRefreshBox? –