Return `TextPattern` if it supports the pattern else None(Conditional support according to MSDN).
(self)
| 7391 | self.AddSearchProperties(ControlType=ControlType.ToolTipControl) |
| 7392 | |
| 7393 | def GetTextPattern(self) -> TextPattern: |
| 7394 | """ |
| 7395 | Return `TextPattern` if it supports the pattern else None(Conditional support according to MSDN). |
| 7396 | """ |
| 7397 | return self.GetPattern(PatternId.TextPattern) |
| 7398 | |
| 7399 | def GetWindowPattern(self) -> WindowPattern: |
| 7400 | """ |
nothing calls this directly
no test coverage detected