GestureRecognizer.CrossSlideThresholds 属性

定义

获取或设置指示 CrossSliding 交互的距离阈值的值。

有关此 API 的更多详细信息,请参阅 UWP WinRT CrossSlideThresholds 主题。

public:
 property CrossSlideThresholds CrossSlideThresholds { CrossSlideThresholds get(); void set(CrossSlideThresholds value); };
CrossSlideThresholds CrossSlideThresholds();

void CrossSlideThresholds(CrossSlideThresholds value);
public CrossSlideThresholds CrossSlideThresholds { get; set; }
var crossSlideThresholds = gestureRecognizer.crossSlideThresholds;
gestureRecognizer.crossSlideThresholds = crossSlideThresholds;
Public Property CrossSlideThresholds As CrossSlideThresholds

属性值

默认情况下,CrossSlideThresholds 中的每个值都设置为 0.0, () 禁用交叉滑动功能。

适用于