DockPanel.DockAsTab Method

Name Parameters Description
DockAsTab(DockPanel) panel Appends a tab containing the current panel to the target tab container. The target tab container is created if necessary.
DockAsTab(DockPanel, Int32) panel, index Creates a tab which contains the current panel at the specified position within the target tab container. The target tab container is created if required.