BringIntoViewOptions.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 = bringIntoViewOptions.verticalOffset;
bringIntoViewOptions.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 provides a simple way to position an element a certain amount from the top or bottom edge of the viewport.

Applies to