Redigera

Dela via


ColumnDefinition.ActualWidth Property

Definition

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