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

返回

一个 boolean,指示指定的元素是否是 IsRequiredForForm

适用于

另请参阅