RowDefinition.Height 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得元素的計算高度 RowDefinition ,或設定 GridLength 由 RowDefinition定義的列值。
public:
property System::Windows::GridLength Height { System::Windows::GridLength get(); void set(System::Windows::GridLength value); };
public System.Windows.GridLength Height { get; set; }
member this.Height : System.Windows.GridLength with get, set
Public Property Height As GridLength
屬性值
那 GridLength 代表該列的高度。 預設值為 1.0。
備註
預設的 GridUnitType 是 Star。
當你在同一程式碼範例中使用這些值時, MinHeight 值優先於值本身 MaxHeight ,而值又優先於值本身 Height 。
當你新增或移除列或欄時,ActualWidth對於所有ColumnDefinition元素和所有元素的ActualHeight集合RowDefinition,直到Measure被呼叫為止。
相依財產資訊
| Item | 價值觀 |
|---|---|
| 識別碼欄位 | HeightProperty |
元資料屬性設為 true |
None |