DataGridColumnHeaderAutomationPeer.GetPattern Method

Silverlight

Gets an object that supports the requested pattern, based on the patterns supported by this DataGridAutomationPeer.

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

public override Object GetPattern(
	PatternInterface patternInterface
)

Parameters

patternInterface
Type: System.Windows.Automation.Peers.PatternInterface
One of the enumeration values that indicates the control pattern.

Return Value

Type: System.Object
The object that implements the pattern interface, or null if the specified pattern interface is not implemented by this peer.

This method returns a non-null result for the Invoke, ScrollItem or Transform patterns so long as matching capabilities are supported by the owner instance. For example, Transform is supported if the column is resizable.

Silverlight

Supported in: 5, 4, 3

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

Community Additions

ADD
Show: