TextBlock.ArrangeOverride(Size) TextBlock.ArrangeOverride(Size) TextBlock.ArrangeOverride(Size) TextBlock.ArrangeOverride(Size) Method

Definition

Positions child elements and determines a size for the TextBlock.

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

Parameters

arrangeSize
Size Size Size Size

A Size within the hosting parent element that the TextBlock should use to arrange itself and its child elements. Sizing constraints may affect this requested size.

Returns

The actual Size used to arrange the element.

Remarks

This method overrides FrameworkElement.ArrangeOverride.

Applies to