AdornerLayer.ArrangeOverride(Size) Method

Definition

定位子元素并确定 AdornerLayer 的大小。Positions child elements and determines a size for the AdornerLayer.

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

Parameters

finalSize
Size

此元素的父级为其保留的大小。The size reserved for this element by its parent.

Returns

Size

元素所需的实际大小。The actual size needed by the element. 此返回值通常与传递给 finalSize 的值相同。This return value is typically the same as the value passed to finalSize.

Remarks

此方法重写 ArrangeOverrideThis method overrides ArrangeOverride.

Applies to

See also