GridViewCellAutomationPeer.GetAutomationControlTypeCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the control type for the element that is associated with this GridViewCellAutomationPeer. This method is called by 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
Returns
If this GridViewCellAutomationPeer is associated with a TextBlock element, this method returns Text; otherwise, this method returns Custom.