ActualWidth (UIElement)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets the rendered width of the object.
value = object.ActualWidth
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)