DataGridLength.IsAuto Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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 ReadOnly Property IsAuto As Boolean

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