UIElement3DAutomationPeer.GetAutomationControlTypeCore Method
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.
Returns the control type for the UIElement3D that is associated with this UIElement3DAutomationPeer. This method is called by 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
Returns
Custom in all cases.
Remarks
If your class matches one of the known control types, override the GetAutomationControlTypeCore method to return that ControlType. Note that although the existing ControlType values are generally associated with 2D controls, the ControlType indicates a control's functionality, not its appearance. So if your UIElement3D invokes an action when the user clicks it, you probably want GetHelpTextCore to return ControlType.Button.
UIElement3DAutomationPeer is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.
Applies to
Обратна връзка
https://aka.ms/ContentUserFeedback.
Очаквайте скоро: През цялата 2024 г. постепенно ще отстраняваме проблемите в GitHub като механизъм за обратна връзка за съдържание и ще го заменим с нова система за обратна връзка. За повече информация вижте:Подаване и преглед на обратна връзка за