GridLength.IsAuto Свойство
Определение
Получает значение, указывающее, содержит ли GridLength значение, размер которого определяется свойствами размера объекта содержимого.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
Значение свойства
Значение true
, если свойство GridUnitType является Auto; в противном случае — false
.true
if the GridUnitType property is Auto; otherwise, false
.
Комментарии
Значение по умолчанию GridUnitType — GridUnitType.Auto .The default GridUnitType value is GridUnitType.Auto. Поэтому это свойство возвращает значение, true
Если GridUnitType при создании экземпляра не указывается.Therefore, this property returns true
if you do not specify a GridUnitType when creating the instance.