Version

CellAutomationPeerNameSource Enumeration

Determines what is returned from the CellAutomationPeer's GetNameCore method.
Syntax
'Declaration
 
Public Enum CellAutomationPeerNameSource 
   Inherits System.Enum
public enum CellAutomationPeerNameSource : System.Enum 
Members
MemberDescription
CellValueThe default. CellAutomationPeer's GetNameCore method returns the associated cell's Value converted to text.
DataItemAndFieldIndexCellAutomationPeer's GetNameCore method returns a localizable string loaded from a resource named 'CellAutomationPeerName' whose default EN-US string is 'Item: {0}, Field Index: {1}' where {0} is the DataItem of the associated DataRecord and {1} is the index of the associated Field. This option is considerably faster in most cases.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also