ActualWidth (UIElement)

Silverlight

Gets the rendered width of the object.

value = object.ActualWidth

Type: Double

The rendered width of the object.

This property is read-only.

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 .

Border (Silverlight 2)

Canvas

ColumnDefinition (Silverlight 2)

Ellipse

Glyphs

Grid (Silverlight 2)

Image

InkPresenter

Line

MediaElement

PasswordBox (Silverlight 2)

Path

Polygon

Polyline

Popup (Silverlight 2)

Rectangle

StackPanel (Silverlight 2)

TextBlock

TextBox (Silverlight 2)

Community Additions

ADD
Show: