StackPanel.MeasureOverride(Size) メソッド

定義

StackPanel の子要素を ArrangeOverride(Size) 通過中の調整を前提として測定します。Measures the child elements of a StackPanel 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

超過してはいけない上限 SizeAn upper limit Size that should not be exceeded.

戻り値

Size

要素の必要なサイズを表す SizeThe Size that represents the desired size of the element.

適用対象

こちらもご覧ください