Show / Hide Table of Contents

Enum DataGridLengthUnitType

Defines constants that describe how DataGrid elements, such as columns, are sized.

Namespace: System.Windows.Controls
Assembly: OpenSilver.Controls.Data.dll
Syntax
public enum DataGridLengthUnitType

Fields

Name Description
Auto

The unit of measure is based on the size of the cells and the column header.

Pixel

The unit of measure is expressed in pixels.

SizeToCells

The unit of measure is based on the size of the cells.

SizeToHeader

The unit of measure is based on the size of the column header.

Star

The unit of measure is a weighted proportion of the available space.

  • Improve this Doc
  • View Source