TableCellAutomationPeer.GetPattern Method (PatternInterface)


Gets the control pattern for the TableCell that is associated with this TableCellAutomationPeer.

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

public override object GetPattern(
	PatternInterface patternInterface


Type: System.Windows.Automation.Peers.PatternInterface

A value from the enumeration.

Return Value

Type: System.Object

If patternInterface is GridItem, this method returns the current instance of the TableCellAutomationPeer; otherwise, this method returns null.

.NET Framework
Available since 3.0
Return to top