DataGridGroupItemAutomationPeer.GetLabeledByCore Method


Retrieves the automation peer for the element designated as the label for the group of items.

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

protected override AutomationPeer GetLabeledByCore()

Return Value

Type: System.Windows.Automation.Peers.AutomationPeer
The object that exposes the element designated as the label to UI automation.

The return value is based on the row header group owner, if one exists. Otherwise, this implementation returns null.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions