Icons in TabControl C# - How?

后端 未结 2 1338
灰色年华
灰色年华 2020-12-11 04:26

I can\'t seem to find an answer for this anywhere. An icon before the label on the default tabcontrol tabs would suffice for my needs.

Thanks in advance.

2条回答
  •  無奈伤痛
    2020-12-11 05:15

    Drag and drop an imageList from the toolbox on the winform and add images to collection from property window. Add a tabcontrol and Set the TabControl.ImageList property. Set the ImageIndex property for each tab page. see example http://www.youtube.com/watch?v=D7E6xJyd6KM

提交回复
热议问题