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'とは何ですか? –