GridLength.Auto 属性

定义

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

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

属性值

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

注解

此结构表示Windows 运行时 (WinRT) GridLength结构的 .NET 投影。 有关详细信息,请参阅 UWP API 参考中的 GridLength

适用于