DataGridLength.IsSizeToCells Property


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

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

public bool IsSizeToCells { get; }

Property Value

Type: System.Boolean

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

.NET Framework
Available since 4.0
Available since 3.0
Return to top