Return `ExpandCollapsePattern` if it supports the pattern else None(Must support according to MSDN).
(self)
| 7235 | self.AddSearchProperties(ControlType=ControlType.SplitButtonControl) |
| 7236 | |
| 7237 | def GetExpandCollapsePattern(self) -> ExpandCollapsePattern: |
| 7238 | """ |
| 7239 | Return `ExpandCollapsePattern` if it supports the pattern else None(Must support according to MSDN). |
| 7240 | """ |
| 7241 | return self.GetPattern(PatternId.ExpandCollapsePattern) |
| 7242 | |
| 7243 | def GetInvokePattern(self) -> InvokePattern: |
| 7244 | """ |
nothing calls this directly
no test coverage detected