UIElement3DAutomationPeer.IsRequiredForFormCore Method ()


Returns a value that indicates whether the UIElement3D that is associated with this UIElement3DAutomationPeer is required to be completed on a form. This method is called by IsRequiredForForm.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationCore (in PresentationCore.dll)

protected override bool IsRequiredForFormCore()

Return Value

Type: System.Boolean

true if the UIElement3D is required to be completed on a form; otherwise, false.

This method calls the AutomationProperties.GetIsRequiredForForm method to get the value. AutomationProperties.GetIsRequiredForForm returns a value only when the AutomationProperties.IsRequiredForForm property is set. You can override IsRequiredForFormCore and add logic to provide a value that makes sense for your UIElement3D.

UIElement3DAutomationPeer is introduced in the .NET Framework version 3.5. For more information, see .NET Framework Versions and Dependencies.

.NET Framework
Available since 3.0
Return to top