Reputation: 5114
Hi I want to put background image from tabcontrol in c# winforms. How can i change it?
Upvotes: 1
Views: 7320
Reputation: 292765
You can't put a background image on the TabControl
itself ; the TabControl.BackgroundImage
property exists, but has no effect.
However you can put a background image on a page of the TabControl
:
tabControl1.TabPages[0].BackgroundImage = Image.FromFile(fileName);
Upvotes: 2