RenderSize Property

UIElement.RenderSize Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the final render size of a UIElement.

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

public Size RenderSize { get; }

Property Value

Type: System.Windows.Size
The rendered size for this object. There is no default value.

RenderSize is generally not the property to use to obtain size information about a UI element. For general UI purposes, use ActualHeight or ActualWidth instead, and do so only at points in object lifetime where object layout is complete. For layout method override purposes, use DesiredSize.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2018 Microsoft