共用方式為


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

適用於