Share via


UIElement.ActualWidth Property

Gets the rendered width of this element.

Namespace: Microsoft.SPOT.Presentation
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public int ActualWidth { get; }

Property Value

The element's rendered width, as a value in device-independent units (1/96th inch per unit). The default value is 0 (zero).

Remarks

This property is a calculated value based on other width inputs, and the layout system. The value is set by the layout system itself, based on an actual rendering pass, and may therefore lag slightly behind the set value of the Width property.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

UIElement Class
UIElement Members
Microsoft.SPOT.Presentation Namespace