This documentation is archived and is not being maintained.

TextBlock.ArrangeOverride Method

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
)
protected final Size ArrangeOverride (
	Size arrangeSize
)
protected override final function ArrangeOverride (
	arrangeSize : Size
) : Size
You cannot use methods in XAML.

Parameters

arrangeSize

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

The actual Size used to arrange the element.

This method overrides ArrangeOverride.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: