| 7104 | |
| 7105 | |
| 7106 | class PaneControl(Control, TopLevel): |
| 7107 | def __init__(self, searchFromControl: Control = None, searchDepth: int = 0xFFFFFFFF, searchInterval: float = SEARCH_INTERVAL, foundIndex: int = 1, element=None, **searchProperties): |
| 7108 | Control.__init__(self, searchFromControl, searchDepth, searchInterval, foundIndex, element, **searchProperties) |
| 7109 | self.AddSearchProperties(ControlType=ControlType.PaneControl) |
| 7110 | |
| 7111 | def GetDockPattern(self) -> DockPattern: |
| 7112 | """ |
| 7113 | Return `DockPattern` if it supports the pattern else None(Conditional support according to MSDN). |
| 7114 | """ |
| 7115 | return self.GetPattern(PatternId.DockPattern) |
| 7116 | |
| 7117 | def GetScrollPattern(self) -> ScrollPattern: |
| 7118 | """ |
| 7119 | Return `ScrollPattern` if it supports the pattern else None(Conditional support according to MSDN). |
| 7120 | """ |
| 7121 | return self.GetPattern(PatternId.ScrollPattern) |
| 7122 | |
| 7123 | def GetTransformPattern(self) -> TransformPattern: |
| 7124 | """ |
| 7125 | Return `TransformPattern` if it supports the pattern else None(Conditional support according to MSDN). |
| 7126 | """ |
| 7127 | return self.GetPattern(PatternId.TransformPattern) |
| 7128 | |
| 7129 | |
| 7130 | class ProgressBarControl(Control): |