GridViewCellAutomationPeer.GetAutomationControlTypeCore Method

Definition

Gets the control type for the element that is associated with this GridViewCellAutomationPeer. 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

If this GridViewCellAutomationPeer is associated with a TextBlock element, this method returns Text; otherwise, this method returns Custom.

Applies to