TextBlock.ArrangeOverride Method (Size)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Positions child elements and determines a size for the TextBlock.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override sealed Size ArrangeOverride(
	Size arrangeSize
)

Parameters

arrangeSize
Type: System.Windows.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.

Return Value

Type: System.Windows.Size

The actual Size used to arrange the element.

.NET Framework
Available since 3.0
Return to top
Show: