IsAuto Property

DataGridLength.IsAuto Property


Gets a value that indicates whether this instance automatically sizes elements based on both the content of cells and the column headers.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public bool IsAuto { get; }

Property Value

Type: System.Boolean

true if the UnitType property is set to Auto; otherwise, false.

.NET Framework
Available since 4.0
Available since 3.0
Return to top
© 2015 Microsoft