You can close the C1DockingTabPage in code by using the TabVisible property of the C1DockingTabPage. The following code can be used for closing the first page:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Me.C1DockingTab1.TabPages(0).TabVisible = False |
To write code in C#
C# |
Copy Code
|
---|---|
this.C1DockingTab1.TabPages(0).TabVisible = False; |