Share via


BringIntoViewRequestedEventArgs.HorizontalOffset Property

Definition

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

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.

Applies to