Dela via


TouchHitTestingEventArgs.BoundingBox Property

Definition

Gets the bounding rectangle of the touch contact area.

public:
 property Rect BoundingBox { Rect get(); };
Rect BoundingBox();
public Rect BoundingBox { get; }
var rect = touchHitTestingEventArgs.boundingBox;
Public ReadOnly Property BoundingBox As Rect

Property Value

Bounding rectangle of the touch contact area.

Remarks

The bounding rectangle is the area in which valid touch targets will be identified and ranked.

Note

This bounding box may differ from the contact area reported by the digitizer when: + The digitizer reports a touch contact area that is outside the maximum or minimum size threshold recognized by Touch Hit Testing.

  • A portion of the touch contact area is occluded by another object higher in the z-order.

Applies to