IScrollInfo.HorizontalOffset 屬性

定義

取得捲動內容的水平位移。Gets the horizontal offset of the scrolled content.

public:
 property double HorizontalOffset { double get(); };
public double HorizontalOffset { get; }
member this.HorizontalOffset : double
Public ReadOnly Property HorizontalOffset As Double

屬性值

Double

表示水平位移的 Double (以與裝置無關的像素為單位)。A Double that represents, in device independent pixels, the horizontal offset. 此屬性沒有預設值。This property has no default value.

備註

有效值介於 0 與 ExtentWidth 減去 ViewportWidth 之間。Valid values are between zero and the ExtentWidth minus the ViewportWidth.

適用於