在选项卡控件标签页之间淡出 [英] Fade between Tab Pages in a Tab Control
本文介绍了在选项卡控件标签页之间淡出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个选项卡控件有多个选项卡页面。我希望能够褪色的标签来回。我没有看到的标签控件的不透明度选项。有没有一种方法,使淡入淡出的效果,当我从一个标签页切换到另一个?
I have a Tab Control with multiple Tab Pages. I want to be able to fade the tabs back and forth. I don't see an opacity option on the Tab Controls. Is there a way to cause a fade effect when I switch from one Tab Page to another?
推荐答案
目前在标准的Windows控件没有神奇的淡入淡出开关。
There is no magic Fade switch in the standard windows control.
您可以转储选项卡为位图的内容(使用的 DrawToBitmap 或 CopyFromScreen < /一>?),显示该位图中的TabControl,开关片的前面,然后褪色位图
You could dump the content of the tab to a bitmap (using DrawToBitmap or CopyFromScreen?), show that bitmap in front of the TabControl, switch tabs, and then fade the bitmap.
这篇关于在选项卡控件标签页之间淡出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文