GridLength.IsAuto プロパティ

定義

コンテンツ オブジェクトのサイズ プロパティによってサイズが決まる値を GridLength が保持するかどうかを示す値を取得します。

public:
 property bool IsAuto { bool get(); };
public bool IsAuto { get; }
member this.IsAuto : bool
Public ReadOnly Property IsAuto As Boolean

プロパティ値

true GridUnitType プロパティがAutoの場合はfalse

注釈

既定のGridUnitType値はGridUnitType.Autoです。したがって、インスタンスの作成時にtrueを指定しない場合、このプロパティはGridUnitTypeを返します。

適用対象

こちらもご覧ください