GridLength.Auto 属性

定义

获取一个 GridLength 实例,它包含大小由内容对象的大小属性确定的值。

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

属性值

一个 GridLength 实例,其 GridUnitType 属性设置为 Auto

适用于

另请参阅