JavaScript API for Silverlight
ActualWidth (UIElement)
Gets the rendered width of the object.
JScript
value = object.ActualWidth
Property Value
Type: Double
The rendered width of the object.
This property is read-only.
Managed Equivalent
Remarks
ActualHeight and ActualWidth reflect the rendered height and width of the object. These properties can be different from the Height and Width properties of the TextBlock. Setting the TextWrapping property affects the ActualHeight and ActualWidth values of a TextBlock.
ActualWidth is available as a property of ColumnDefinition .
Applies To
Border (Silverlight 2)
ColumnDefinition (Silverlight 2)
Grid (Silverlight 2)
PasswordBox (Silverlight 2)
Popup (Silverlight 2)
StackPanel (Silverlight 2)
TextBox (Silverlight 2)
See Also