Share via


GridViewCellAutomationPeer.GetAutomationControlTypeCore メソッド

定義

この 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

戻り値

AutomationControlType

この GridViewCellAutomationPeerTextBlock 要素に関連付けられている場合、このメソッドは Text を返します。それ以外の場合、このメソッドは Custom を返します。

適用対象