DataGridLength.SizeToHeader 属性

定义

获取表示基于标题的自动调整大小模式的 DataGridLength 结构。

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

属性值

表示基于标题的自动调整大小模式的 DataGridLength 结构。

注解

基于标题的自动调整大小模式仅根据列标题的内容来调整 DataGrid 列的大小。

适用于