แก้ไข

แชร์ผ่าน


GridLength.IsAuto Property

Definition

Gets a value that indicates whether the GridLength holds a value whose size is determined by the size properties of the content object.

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

Property Value

true if the GridUnitType property is Auto; otherwise, false.

Remarks

The default GridUnitType value is GridUnitType.Auto. Therefore, this property returns true if you do not specify a GridUnitType when creating the instance.

Applies to

See also