共用方式為


AutomationProperties.GetIsRequiredForForm(DependencyObject) 方法

定義

取得所指定 IsRequiredForFormDependencyObject 附加屬性。

public:
 static bool GetIsRequiredForForm(System::Windows::DependencyObject ^ element);
public static bool GetIsRequiredForForm (System.Windows.DependencyObject element);
static member GetIsRequiredForForm : System.Windows.DependencyObject -> bool
Public Shared Function GetIsRequiredForForm (element As DependencyObject) As Boolean

參數

element
DependencyObject

要進行檢查的 DependencyObject

傳回

指出指定的項目是否為 IsRequiredForFormboolean

適用於

另請參閱