Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

UIElement.RenderSize Property

July 28, 2014

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

© 2014 Microsoft