共用方式為


AutomationProperties.GetIsRequiredForForm(DependencyObject) 方法

定義

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

參數

element
DependencyObject

要檢查 的 DependencyObject

傳回

Boolean

bool

如果表單完成時需要指定的專案,則為true;否則為false

適用於

另請參閱