BringIntoViewRequestedEventArgs.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 = bringIntoViewRequestedEventArgs.horizontalOffset;
bringIntoViewRequestedEventArgs.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 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 HorizontalOffset to reflect the remaining amount that it could not satisfy.