CollapsingGroupPanel responds to a number of keyboard actions and mouse gestures at runtime. This section describes the runtime behaviour of CollapsingGroupPanel. If CollapsingGroupPanel or one of its child controls has input focus, then a focus rectangle is drawn around the expand collapse button. When a CollapsingGroupPanel or one of its child controls has focus, the CollapsingGroupBox responds to keystrokes.
The table below details how CollapsingGroupPanel responds to keystrokes and mouse gestures.
| Key press / Mouse gesture | Operation |
|---|---|
|
CONTROL and UP or LEFT key. |
The CollapsingGroupPanel collapses. This only applies if the CollapseMode is Manual or AutomaticExpand. |
| CONTROL or DOWN or RIGHT key. | The CollapsingGroupPanel expands. This only applies if the CollapseMode is Manual or AutomaticCollapse. |
| CONTROL and SPACE bar |
The CollapsingGroupPanel Pinned property is toggled. A CollapsingGroupPanel can only be pinned if it is expanded and the CollapseMode is Automatic or AutomaticCollapse. |
| LEFT CLICK the header | If the CollapsingGroupPanel is collapsed it will expand. If the CollapsingGroupPanel is expanded and can be pinned, then the Pinned value toggles otherwise the CollapseGroupPanel will collapse if it is able to. A CollapsingGroupPanel can be collapsed if the CollapseMode is Manual or AutomaticExpand. |
| TAB into the CollapsingGroupPanel | If the CollapsingGroupPanel is collapsed it will expand provided the CollapseMode is Automatic or AutomaticExpand. The CollapsingGroupPanel becomes hot and the active control highlighted. |
| TAB to next child control | The highlight follows the input focus. |
| TAB out of the CollapsingGroupPanel | If the CollapsingGroupPanel can collapse then it will. The CollapsingGroupPanel becomes cold and no control will be highlighted. A CollapsingGroupPanel can collapse if the CollapseMode is either Automatic or AutomaticCollapse and Pinned is false. |
| MOUSE enters the CollapsingGroupPanel | If the CollapsingGroupPanel is collapsed and can expand then it will. The CollapsingGroupPanel becomes hot. The CollapsingGroupPanel can expand if the CollapseMode is either Automatic or AutomaticExpand. |
| MOUSE leaves the CollapsingGroupPanel | If the CollapsingGroupPanel can collapse then it will. The CollapsingGroupPanel becomes cold. The CollapsingGroupPanel can collapse if the CollapseMode is either Automatic or AutomaticCollapse and Pinned is false. |