ChildWindowAutomationPeer.GetPattern Method
Silverlight
Gets the requested control pattern, based on the ChildWindowAutomationPeer pattern implementations.
Namespace: System.Windows.Automation.Peers
Assembly: System.Windows.Controls (in System.Windows.Controls.dll)
Parameters
- patternInterface
- Type: System.Windows.Automation.Peers.PatternInterface
One of the enumeration values.
Return Value
Type: System.ObjectThe object that implements the pattern interface, or null if the specified pattern interface is not implemented by this peer.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.