Share via


ScrollViewer.ViewportWidth 屬性

定義

取得值,這個值包含內容檢視區的水平大小。

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

屬性值

Double

Double,表示內容檢視區的水平大小。 預設值為 0.0。

備註

檢視區是內容的可見區域。

相依性屬性資訊

識別碼欄位 ViewportWidthProperty
中繼資料屬性設定為 true

適用於