BringIntoViewOptions.VerticalOffset 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 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
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.