Поделиться через


DataPagerAutomationPeer.GetNameCore Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the UI Automation Name for the DataPager that is associated with this DataPagerAutomationPeer. Called by GetName.

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

Syntax

'Declaration
Protected Overrides Function GetNameCore As String
protected override string GetNameCore()

Return Value

Type: System.String
The UI Automation Name of the object that is associated with this automation peer.

Remarks

This result may be in a form that reports the data paging status, such as, "Page N" when the total page count is unknown or "Page N of M" when the total count is known. These values come from localized resources, using culture format conventions, and are reported in localized form. This may also be a result from the labeling control or owner, which does not necessarily report data paging information.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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