Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

UIElement.RenderSize Property

Gets the final render size of a UIElement.

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

Public ReadOnly Property RenderSize As Size

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

© 2015 Microsoft