Return `TextPattern` if it supports the pattern else None(Must support according to MSDN).
(self)
| 6761 | self.AddSearchProperties(ControlType=ControlType.DocumentControl) |
| 6762 | |
| 6763 | def GetTextPattern(self) -> TextPattern: |
| 6764 | """ |
| 6765 | Return `TextPattern` if it supports the pattern else None(Must support according to MSDN). |
| 6766 | """ |
| 6767 | return self.GetPattern(PatternId.TextPattern) |
| 6768 | |
| 6769 | def GetScrollPattern(self) -> ScrollPattern: |
| 6770 | """ |
nothing calls this directly
no test coverage detected