Dela via


BringIntoViewRequestedEventArgs.VerticalOffset Property

Definition

Gets or sets the vertical distance to add to the viewport-relative position of the TargetRect after satisfying the requested VerticalAlignmentRatio.

public:
 property double VerticalOffset { double get(); void set(double value); };
double VerticalOffset();

void VerticalOffset(double value);
public double VerticalOffset { get; set; }
var double = bringIntoViewRequestedEventArgs.verticalOffset;
bringIntoViewRequestedEventArgs.verticalOffset = double;
Public Property VerticalOffset As Double

Property Value

Double

double

The vertical distance to add to the viewport-relative position of the TargetRect after satisfying the requested VerticalAlignmentRatio.

Remarks

This value can be modified by event handlers as the event bubbles. A scrolling control that partially or fully satisfies the request will adjust the requested VerticalOffset to reflect the remaining amount that it could not satisfy.

Applies to