码迷,mamicode.com
首页 > 其他好文 > 详细

TabControl key Points

时间:2014-08-02 15:19:03      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:des   http   color   os   io   for   art   cti   

A TabControl contains tab pages, which are represented by TabPage objects that you add through the TabPages property. The order of tab pages in this collection reflects the order the tabs appear in the control.

The user can change the current TabPage by clicking one of the tabs in the control. You can also programmatically change the current TabPage by using one of the following TabControl properties:

In .NET Framework 2.0, you can also use one of the following methods:

In .NET Framework 2.0, you can respond when the current tab changes by handling one of the following events:

The tabs in a TabControl are part of the TabControl, but not parts of the individual TabPage controls. Members of the TabPage class, such as the ForeColor property, affect only the client rectangle of the tab page, but not the tabs. Additionally, the Hide method of the TabPage will not hide the tab. To hide the tab, you must remove the TabPage control from the TabControl.TabPages collection.

Event => Selected -> lost/obsolete???

 

TabControl key Points,布布扣,bubuko.com

TabControl key Points

标签:des   http   color   os   io   for   art   cti   

原文地址:http://www.cnblogs.com/kevinygq/p/3886897.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!