DataGridItemAutomationPeer.GetPattern Method (PatternInterface)
Returns the object that supports the specified control pattern of the element that is associated with this automation peer.
Assembly: PresentationFramework (in PresentationFramework.dll)
An enumeration value that specifies the control pattern.
If one of the following cases occurs, this method returns the current DataGridCellItemAutomationPeer object.
patternInterface is PatternInterface.ScrollItem.
patternInterface is PatternInterface.Selection.
Available since 4.0
Available since 2.0