FindNextElementOptions.ExclusionRect Property

Definition

Gets or sets a bounding rectangle where all overlapping navigation candidates are excluded from navigation focus.

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

void ExclusionRect(Rect value);
public Rect ExclusionRect { get; set; }
var rect = findNextElementOptions.exclusionRect;
findNextElementOptions.exclusionRect = rect;
Public Property ExclusionRect As Rect

Property Value

The bounding rectangle.

Remarks

Potential candidates are calculated using the bounding rectangle as reference. This rectangle lets you specify another reference instead of the focused element.

This rectangle is used only for calculations and is never added to the visual tree.

Applies to

See also