BringIntoViewRequestedEventArgs.TargetRect Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.