ScrollView.ViewportWidth プロパティ

定義

ScrollView内の表示可能なコンテンツの水平方向のサイズを取得します。

public:
 property double ViewportWidth { double get(); };
double ViewportWidth();
public double ViewportWidth { get; }
var double = scrollView.viewportWidth;
Public ReadOnly Property ViewportWidth As Double

プロパティ値

Double

double

ScrollView内の表示可能なコンテンツの水平方向のサイズ。

注釈

エクステントには、表示されているかどうかに関係なく、ScrollView内のすべてのコンテンツが含まれます。 ビューポートは、コンテンツの表示領域です。

適用対象