ColumnDefinition.ActualWidth Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that represents the actual calculated width of a ColumnDefinition.
public:
property double ActualWidth { double get(); };
public double ActualWidth { get; }
member this.ActualWidth : double
Public ReadOnly Property ActualWidth As Double
Property Value
A Double that represents the actual calculated width in device independent pixels. The default value is 0.0.
Remarks
This property is a calculated value that is based on other width inputs and the layout system.
When you add or remove rows or columns, the ActualWidth for all ColumnDefinition elements and the ActualHeight of all RowDefinition elements becomes zero until Measure is called.
Applies to
.NET