RowDefinition.ActualHeight 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
得到一個代表計算出的高度 RowDefinition的值。
public:
property double ActualHeight { double get(); };
public double ActualHeight { get; }
member this.ActualHeight : double
Public ReadOnly Property ActualHeight As Double
屬性值
Double A代表以裝置無關像素計算出的高度。 預設值為 0.0。
備註
當你在同一程式碼範例中使用這些值時, MinHeight 值優先於值本身 MaxHeight ,而值又優先於值本身 Height 。
當你新增或移除列或欄時,ActualWidth對於所有ColumnDefinition元素和所有元素的ActualHeight集合RowDefinition,直到Measure被呼叫為止。