RowDefinition.Height プロパティ

定義

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 です。

注釈

既定の GridUnitTypeStar です。

同じコード例でこれらの値を使用すると、 MinHeight 値が MaxHeight 値よりも優先され、 Height 値よりも優先されます。

行または列を追加または削除すると、すべてのActualWidth要素のColumnDefinitionと、すべてのActualHeight要素のRowDefinitionは、Measureが呼び出されるまでゼロになります。

依存関係プロパティ情報

品目 価値
識別子フィールド HeightProperty
に設定されたメタデータ プロパティ true None

適用対象