Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
AutomationPeer.GetPattern(PatternInterface) Method
Definition
- Namespace:
- Microsoft.UI.Xaml.Automation.Peers
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the control pattern that is associated with the specified PatternInterface.
public:
virtual Platform::Object ^ GetPattern(PatternInterface patternInterface) = GetPattern;
IInspectable GetPattern(PatternInterface const& patternInterface);
public object GetPattern(PatternInterface patternInterface);
function getPattern(patternInterface)
Public Function GetPattern (patternInterface As PatternInterface) As Object
Parameters
- patternInterface
- PatternInterface
A value from the PatternInterface enumeration.
Returns
The object that implements the pattern interface; null if the peer does not support this interface.
Applies to
Feedback
Was this page helpful?
