AutomationElement.IsRequiredForFormProperty Field


Identifies the IsRequiredForForm property.

public: static initonly System::Windows::Automation::AutomationProperty ^ IsRequiredForFormProperty;
public static readonly System.Windows.Automation.AutomationProperty IsRequiredForFormProperty;
 staticval mutable IsRequiredForFormProperty : System.Windows.Automation.AutomationProperty
Public Shared ReadOnly IsRequiredForFormProperty As AutomationProperty 

Field Value


The following example retrieves the current value of the property. The default value is returned if the element does not provide one.

bool isRequired = (bool)
Dim isRequired As Boolean = _


This identifier is used by UI Automation client applications. UI Automation providers should use the equivalent identifier in AutomationElementIdentifiers.

This property can also be retrieved from the Current or Cached properties.

The return value for this property is of type Boolean, and the default value is false.

Applies to

See also