AutomationElement.IsRequiredForFormProperty Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Examples
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)
autoElement.GetCurrentPropertyValue(AutomationElement.IsRequiredForFormProperty);
Dim isRequired As Boolean = _
CBool(autoElement.GetCurrentPropertyValue(AutomationElement.IsRequiredForFormProperty))
Remarks
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
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示