CalendarAutomationPeer.GetPattern Method

Gets the object that supports the specified control pattern of the element that is associated with this automation peer.

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

'Declaration
Public Overrides Function GetPattern ( _
	patternInterface As PatternInterface _
) As Object

Parameters

patternInterface
Type: System.Windows.Automation.Peers.PatternInterface

An enumeration value that specifies the control pattern.

Return Value

Type: System.Object
If patternInterface is Grid, Table, MultipleView, or Selection, this method returns a this pointer; otherwise, this method returns Nothing.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft