Udostępnij za pośrednictwem


BringIntoViewRequestedEventArgs.TargetRect Property

Definition

Gets or sets the Rect in the TargetElement’s coordinate space to bring into view.

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

void TargetRect(Rect value);
public Rect TargetRect { get; set; }
var rect = bringIntoViewRequestedEventArgs.targetRect;
bringIntoViewRequestedEventArgs.targetRect = rect;
Public Property TargetRect As Rect

Property Value

The Rect in the TargetElement’s coordinate space to bring into view.

Remarks

If StartBringIntoView is called with a null TargetRect, then the TargetElement’s bounding rect is used.

Applies to