Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/298.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何设置UI.Xaml.Controls.ScrollViewer的最小滚动位移值以适合?_C#_Xaml_Scrollviewer_Uwp - Fatal编程技术网

C# 如何设置UI.Xaml.Controls.ScrollViewer的最小滚动位移值以适合?

C# 如何设置UI.Xaml.Controls.ScrollViewer的最小滚动位移值以适合?,c#,xaml,scrollviewer,uwp,C#,Xaml,Scrollviewer,Uwp,如何在通用Windows平台中使用UI.Xaml.Controls.ScrollViewer实现下图中提到的描述 尝试在ScrollViewer上设置HorizontalSnapPointsType=“必填” SnapPointsType(水平SnapPointsType和垂直SnapPointsType) 无无捕捉行为。只有操纵会影响最终位置 可选内容停止在最靠近惯性自然停止方向的捕捉点处,具体取决于惯性如何停止 关闭捕捉点 强制性内容始终在最靠近惯性自然停止方向的捕捉点停止 Optiona

如何在通用Windows平台中使用UI.Xaml.Controls.ScrollViewer实现下图中提到的描述


尝试在
ScrollViewer
上设置
HorizontalSnapPointsType=“必填”

SnapPointsType(水平SnapPointsType和垂直SnapPointsType)

  • 无捕捉行为。只有操纵会影响最终位置
  • 可选内容停止在最靠近惯性自然停止方向的捕捉点处,具体取决于惯性如何停止 关闭捕捉点
  • 强制性内容始终在最靠近惯性自然停止方向的捕捉点停止
  • OptionalSingle如果运动开始位置离下一个捕捉点很远,则内容将在下一个捕捉点停止
  • MandatorySingle内容始终在沿惯性方向最靠近释放点的捕捉点停止

尝试在
ScrollViewer
上设置
HorizontalSnapPointsType=“必填”

SnapPointsType(水平SnapPointsType和垂直SnapPointsType)

  • 无捕捉行为。只有操纵会影响最终位置
  • 可选内容停止在最靠近惯性自然停止方向的捕捉点处,具体取决于惯性如何停止 关闭捕捉点
  • 强制性内容始终在最靠近惯性自然停止方向的捕捉点停止
  • OptionalSingle如果运动开始位置离下一个捕捉点很远,则内容将在下一个捕捉点停止
  • MandatorySingle内容始终在沿惯性方向最靠近释放点的捕捉点停止