Canvas.MeasureOverride(Size) Canvas.MeasureOverride(Size) Canvas.MeasureOverride(Size) Canvas.MeasureOverride(Size) Method

定義

Canvas が渡される間、配置を予測して ArrangeOverride(Size) の子要素を測定します。Measures the child elements of a Canvas in anticipation of arranging them during the ArrangeOverride(Size) pass.

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 Size Size Size

超えることができない上限の SizeAn upper limit Size that should not be exceeded.

戻り値

子コンテンツを配置するのに必要なサイズを表す SizeA Size that represents the size that is required to arrange child content.

適用対象

こちらもご覧ください