def GetGridItemPattern(self) -> GridItemPattern:
return self.GetPattern(PatternId.GridItemPattern)<EOL>
Return `GridItemPattern` if it supports the pattern else None(Conditional support according to MSDN).