Control.ArrangeOverride(Size) 方法

定義

呼叫以排列 Control 物件內容,並調整大小。Called to arrange and size the content of a Control object.

protected:
 override System::Windows::Size ArrangeOverride(System::Windows::Size arrangeBounds);
protected override System.Windows.Size ArrangeOverride (System.Windows.Size arrangeBounds);
override this.ArrangeOverride : System.Windows.Size -> System.Windows.Size
Protected Overrides Function ArrangeOverride (arrangeBounds As Size) As Size

參數

arrangeBounds
Size

所計算出用來排列內容的大小。The computed size that is used to arrange the content.

傳回

Size

控制項的大小。The size of the control.

備註

預設的控制項排列只會排列第一個視覺子系。The default control arrangement arranges only the first visual child. 不會套用任何轉換。No transforms are applied.

適用於