AutomationProperties.GetIsDataValidForForm(DependencyObject) 方法

定義

取得布林值,指出輸入或選取的值是否對與指定專案相關聯的表單規則有效。

public:
 static bool GetIsDataValidForForm(DependencyObject ^ element);
 static bool GetIsDataValidForForm(DependencyObject const& element);
public static bool GetIsDataValidForForm(DependencyObject element);
function getIsDataValidForForm(element)
Public Shared Function GetIsDataValidForForm (element As DependencyObject) As Boolean

參數

element
DependencyObject

要取得資料驗證的專案。

傳回

Boolean

bool

布林值,指出所輸入或選取的值是否對 專案 參數所指定之物件相關聯的表單規則有效。

適用於