AutomationProperties.GetIsRequiredForForm(DependencyObject) Method

Definition

Gets the value of the AutomationProperties.IsRequiredForForm attached property for the specified 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

Parameters

element
DependencyObject

The DependencyObject to check.

Returns

Boolean

bool

true if the specified element is required for completion of a form; otherwise, false.

Applies to