This is a migrated thread and some comments may be shown as answers.

Change tab icon and title

1 Answer 87 Views
TabbedForm
This is a migrated thread and some comments may be shown as answers.
nima
Top achievements
Rank 1
Veteran
nima asked on 02 Nov 2020, 08:26 AM

Hi

How to change the icon and title of the selected tab while running the program?

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 02 Nov 2020, 04:10 PM

Hello, Nima,

You can change the icon and title text of RadTabbedFormControlTab as shown below:

private void radButton1_Click(object sender, EventArgs e)
{
    this.radTabbedFormControl1.SelectedTab = radTabbedFormControlTab2;
    this.radTabbedFormControlTab2.Image = Image.FromFile(@"..//..//RedFlag.png");
    this.radTabbedFormControlTab2.Text = "Selected Tab 2";
}

I hope this helps. Should you have other questions please let me know.

Regards,
Nadya
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
TabbedForm
Asked by
nima
Top achievements
Rank 1
Veteran
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or