UIElement3DAutomationPeer.GetAutomationControlTypeCore 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回与此 UIElement3DAutomationPeer 关联的 UIElement3D 的控件类型。 此方法由 GetAutomationControlType() 调用。
protected:
override System::Windows::Automation::Peers::AutomationControlType GetAutomationControlTypeCore();
protected override System.Windows.Automation.Peers.AutomationControlType GetAutomationControlTypeCore ();
override this.GetAutomationControlTypeCore : unit -> System.Windows.Automation.Peers.AutomationControlType
Protected Overrides Function GetAutomationControlTypeCore () As AutomationControlType
返回
在所有情况下均为 Custom。
注解
如果类与已知控件类型之一匹配,请重写 GetAutomationControlTypeCore 方法以返回该 ControlType。 请注意,尽管现有 ControlType 值通常与 2D 控件相关联,但 ControlType 指示控件的功能,而不是其外观。 因此, UIElement3D 如果在用户单击某个操作时调用它,则可能需要 GetHelpTextCore 返回 ControlType.Button。
UIElement3DAutomationPeer在 .NET Framework 版本 3.5 中引入。 有关详细信息,请参见版本和依赖关系。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈