AutomationPeer.GetParent 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.
Gets the AutomationPeer that is the parent of this AutomationPeer.
public:
virtual AutomationPeer ^ GetParent() = GetParent;
/// [Windows.Foundation.Metadata.Deprecated("Consider using Navigate with AutomationNavigationDirection::Parent, which is an improved version of GetParent. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")]
AutomationPeer GetParent();
[Windows.Foundation.Metadata.Deprecated("Consider using Navigate with AutomationNavigationDirection::Parent, which is an improved version of GetParent. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")]
public AutomationPeer GetParent();
function getParent()
Public Function GetParent () As AutomationPeer
Returns
The parent automation peer.
- Attributes