GridViewColumnHeaderAutomationPeer.GetPattern Method (PatternInterface)


Gets the control pattern for the GridViewColumnHeader that is associated with this GridViewColumnHeaderAutomationPeer.

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

public override object GetPattern(
	PatternInterface patternInterface


Type: System.Windows.Automation.Peers.PatternInterface

One of the enumeration values.

Return Value

Type: System.Object

If patternInterface is Transform or Invoke, this method returns a this pointer; otherwise this method returns null.

.NET Framework
Available since 3.0
Return to top