

| Type | Description | |||
| Variant | A NET object that indicates the container of the controls to be displayed in the Tab's pages. |
For instance, the following VB.NET sample shows how to distribute controls to different pages of the control:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
With AxTab1
.CContainer = Me
.Pages(0).Controls = "Button1,CheckBox1"
.Pages(1).Controls = "Button2,CheckBox2"
End With
End Sub
For instance, the following C# sample shows how to distribute controls to different pages of the control:
private void Form1_Load(object sender, EventArgs e)
{
axTab1.CContainer = this;
axTab1.Pages[0].Controls = "Button1,CheckBox1";
axTab1.Pages[1].Controls = "Button2,CheckBox2";
}