在选项卡控件标签页之间淡出控件、选项卡、标签

由网友(╰╇莪╮卟ジ配╮)分享简介:我有一个选项卡控件有多个选项卡页面。我希望能够褪色的标签来回。我没有看到的标签控件的不透明度选项。有没有一种方法,使淡入淡出的效果,当我从一个标签页切换到另一个?I have a Tab Control with multiple Tab Pages. I want to be able to fade the ta...

我有一个选项卡控件有多个选项卡页面。我希望能够褪色的标签来回。我没有看到的标签控件的不透明度选项。有没有一种方法,使淡入淡出的效果,当我从一个标签页切换到另一个?

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.

阅读全文

相关推荐

最新文章