AutomationProperties.GetIsRequiredForForm(DependencyObject) 方法

定义

获取指定 DependencyObjectAutomationProperties.IsRequiredForForm 附加属性的值。

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

参数

返回

Boolean

bool

如果完成表单时需要指定的元素,则为 true;否则为 false

适用于