Udostępnij za pośrednictwem


GridViewCellAutomationPeer.GetAutomationControlTypeCore Metoda

Definicja

Pobiera typ kontrolki dla elementu skojarzonego z tym GridViewCellAutomationPeerelementem . Ta metoda jest wywoływana przez GetAutomationControlType()metodę .

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

Zwraca

AutomationControlType

Jeśli jest to GridViewCellAutomationPeer skojarzone z elementem TextBlock , ta metoda zwraca Textwartość ; w przeciwnym razie ta metoda zwraca wartość Custom.

Dotyczy