GridViewCellAutomationPeer.GetAutomationControlTypeCore 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得與此 GridViewCellAutomationPeer 相關聯之項目的控制項類型。 這個方法是由 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
傳回
如果這個 GridViewCellAutomationPeer 與 TextBlock 項目相關聯,這個方法便會傳回 Text,否則這個方法會傳回 Custom。