Edit

Share via


DataGridLength.Auto Property

Definition

Gets a DataGridLength structure that represents the standard automatic sizing mode.

public:
 static property System::Windows::Controls::DataGridLength Auto { System::Windows::Controls::DataGridLength get(); };
public static System.Windows.Controls.DataGridLength Auto { get; }
static member Auto : System.Windows.Controls.DataGridLength
Public Shared ReadOnly Property Auto As DataGridLength

Property Value

A DataGridLength structure that represents the standard automatic sizing mode.

Remarks

The standard automatic sizing mode sizes DataGrid columns based on the contents of both cells and column headers.

Applies to