GridViewCellAutomationPeer.GetAutomationControlTypeCore Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient le type de contrôle pour l'élément associé à ce GridViewCellAutomationPeer. Cette méthode est appelée par 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
Retours
Si ce GridViewCellAutomationPeer est associé à un élément TextBlock, cette méthode retourne Text ; sinon, cette méthode retourne Custom.