แก้ไข

แชร์ผ่าน


UIElement3DAutomationPeer.IsRequiredForFormCore Method

Definition

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().

protected:
 override bool IsRequiredForFormCore();
protected override bool IsRequiredForFormCore ();
override this.IsRequiredForFormCore : unit -> bool
Protected Overrides Function IsRequiredForFormCore () As Boolean

Returns

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

Remarks

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 Versions and Dependencies.

Applies to