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。