Compartilhar via


GridViewCellAutomationPeer.GetAutomationControlTypeCore Método

Definição

Obtém o tipo de controle para o elemento que está associado a este GridViewCellAutomationPeer. Este método é chamado por 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

Retornos

AutomationControlType

Se este GridViewCellAutomationPeer está associado com um elemento TextBlock, esse método retorna Text; caso contrário, esse método retorna Custom.

Aplica-se a