# IRsPanelContainer Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | AddRemovePanels (RtPanelViewType dwPanelsType)
HRESULT | AddPanel (BSTR bsPanelRoot, RtUlong dwAspect, RtUlong dwMode, RtPanelViewType dwPanelType, RtBool bShowAspect)
HRESULT | AddPanelEx (BSTR bsPanelRoot, BSTR bsPivotRoot, RtUlong dwAspect, RtUlong dwMode, RtPanelViewType dwPanelType, RtBool bShowAspect)

## Detailed Description

Panel container for IRsPanelContainer command.

## Member Function Documentation

HRESULT IRsPanelContainer::AddRemovePanels | ( | RtPanelViewType | dwPanelsType | ) |

Add type of panels you want to remove from stack view before adding new panels.

Parameters:

  | dwPanelsType | Type of panels to remove before adding new panels.

HRESULT IRsPanelContainer::AddPanel | ( | BSTR | bsPanelRoot,
|  | RtUlong | dwAspect,
|  | RtUlong | dwMode,
|  | RtPanelViewType | dwPanelType,
|  | RtBool | bShowAspect |
| ) |  |  |

Add panel.

Parameters:

  | bsPanelRoot | root of added panel
  | dwAspect | Aspect of panel to open
  | dwMode | Mode for opening panel. Check IRsStackPanelViewDecorator::put_AddMode for details.
  | dwPanelType | Specifies type of the panel. Check
  | bShowAspect | Show aspect button of added node.

HRESULT IRsPanelContainer::AddPanelEx | ( | BSTR | bsPanelRoot,
|  | BSTR | bsPivotRoot,
|  | RtUlong | dwAspect,
|  | RtUlong | dwMode,
|  | RtPanelViewType | dwPanelType,
|  | RtBool | bShowAspect |
| ) |  |  |

Add panel.

Parameters:

  | bsPanelRoot | root of added panel
  | bsPivotRoot | root of added panel
  | dwAspect | Aspect of panel to open
  | dwMode | Mode for opening panel. Check IRsStackPanelViewDecorator::put_AddMode for details.
  | dwPanelType | Specifies type of the panel. Check
  | bShowAspect | Show aspect button of added node.