GestureRecognizer.CrossSlideThresholds 属性

定义

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

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 () 禁用 CrossSliding 功能。

适用于

另请参阅