Control.MeasureOverride(Size) メソッド
定義
コントロールを再測定するために呼び出されます。Called to remeasure a control.
protected:
override System::Windows::Size MeasureOverride(System::Windows::Size constraint);
protected override System.Windows.Size MeasureOverride (System.Windows.Size constraint);
override this.MeasureOverride : System.Windows.Size -> System.Windows.Size
Protected Overrides Function MeasureOverride (constraint As Size) As Size
パラメーター
- constraint
- Size
メソッドが返すことができる最大サイズ。The maximum size that the method can return.
戻り値
コントロールのサイズ。最大値は constraint
によって指定されます。The size of the control, up to the maximum specified by constraint
.
注釈
既定の制御測定では、最初のビジュアル子のみが測定されます。The default control measurement only measures the first visual child.