BringIntoViewOptions.HorizontalOffset 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 horizontal distance to add to the viewport-relative position of the TargetRect
after satisfying the requested HorizontalAlignmentRatio.
public:
property double HorizontalOffset { double get(); void set(double value); };
double HorizontalOffset();
void HorizontalOffset(double value);
public double HorizontalOffset { get; set; }
var double = bringIntoViewOptions.horizontalOffset;
bringIntoViewOptions.horizontalOffset = double;
Public Property HorizontalOffset As Double
Property Value
double
The horizontal distance to add to the viewport-relative position of the TargetRect
after satisfying the requested HorizontalAlignmentRatio.
Remarks
This provides a simple way to position an element a certain amount from the left or right edge of the viewport.