Share via


GridLengthHelper.GetIsAuto(GridLength) 方法

定義

傳回評估的 GridLength 是否為特殊 Auto 值。 C# 程式碼應該改用 GridLength.IsAuto

public:
 static bool GetIsAuto(GridLength target);
 static bool GetIsAuto(GridLength const& target);
public static bool GetIsAuto(GridLength target);
function getIsAuto(target)
Public Shared Function GetIsAuto (target As GridLength) As Boolean

參數

target
GridLength

要評估的 GridLength

傳回

Boolean

bool

true 如果評估的 GridLength 是特殊的 Auto 值,則為 ;否則為 false

適用於