ActualWidth Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the rendered width of this element.

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

Syntax

'Declaration
Public ReadOnly Property ActualWidth As Integer
public int ActualWidth { get; }
public:
property int ActualWidth {
    int get ();
}
member ActualWidth : int
function get ActualWidth () : int

Property Value

Type: System. . :: . .Int32
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.

.NET Framework Security

See Also

Reference

UIElement Class

Microsoft.SPOT.Presentation Namespace