Share via


ScalableImage.ArrangeOverride(Size) Method

Definition

Called when the control is asked to render itself in a given area. Sets the render size to use all available area when Brush is provided.

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 final area within the parent that this element should use to arrange itself and its children.

Returns

The actual size used to render the control.

Applies to