Border.MeasureOverride(Size) Border.MeasureOverride(Size) Border.MeasureOverride(Size) Border.MeasureOverride(Size) Method

定義

Border パスにおいて、配置の前に ArrangeOverride(Size) の子要素を測定します。Measures the child elements of a Border before they are arranged 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

Size の上限。この値を超えることはできません。An upper Size limit that cannot be exceeded.

戻り値

要素のサイズの上限値を表す SizeThe Size that represents the upper size limit of the element.

注釈

ABorder要素の上の決定Sizeサイズ設定プロパティ、余白、およびその子要素の必要サイズを分析することで制限します。A Border element determines its upper Size limit by analyzing the sizing properties, margin, and requested size of its child elements.

適用対象

こちらもご覧ください