Hi
This code correctly changes the name of the tab after a myUserControl is added.
How can I change the title of the selected tab anywhere in the program without calling RadTabbedFormControlEventArgs e?
code snippet:
private void radTabbedFormControl1_TabAdded(object sender, RadTabbedFormControlEventArgs e) { UserControl1 myUserControl = new UserControl1(); myUserControl.Dock = DockStyle.Fill; e.Tab.Controls.Add(myUserControl); e.Tab.Owner.SelectedTab = e.Tab; e.Tab.Text = myUserControl.this_title; }
