我在哪里可以免费找到一个不错的 .NET 选项卡控件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/712530/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-04 14:25:27  来源:igfitidea点击:

Where can I find a nice .NET Tab Control for free?

c#.netwinformstabcontrolkrypton

提问by rfgamaral

I'm doing this application in C# using the free Krypton Toolkit but the Krypton Navigator is a paid product which is rather expensive for me and this application is being developed on my free time and it will be available to the public for free.

我正在使用免费的 Krypton Toolkit 在 C# 中开发这个应用程序,但 Krypton Navigator 是一种付费产品,对我来说相当昂贵,这个应用程序是在我空闲时间开发的,它将免费向公众开放。

So, I'm looking for a free control to integrate better into my Krypton application because the default one doesn't quite fit and it will be different depending on the OS version...

因此,我正在寻找一种免费控件来更好地集成到我的 Krypton 应用程序中,因为默认控件不太适合,并且会因操作系统版本而异......

Any suggestions?

有什么建议?

P.S: I know I could owner-draw it but I'm trying not to have that kind of work... I prefer something already done if it exists for free.

PS:我知道我可以自己画它,但我试图不做那种工作......我更喜欢已经完成的事情,如果它是免费的。

EDIT:I just found exactly what I wanted:
http://www.angelonline.net/CodeSamples/Lib_3.5.0.zip

编辑:我刚刚找到了我想要的:http:
//www.angelonline.net/CodeSamples/Lib_3.5.0.zip

采纳答案by Mario

If you need an updated lib with Office 2010 Palettes: http://www.angelonline.net/CodeSamples/Lib_4.2.0.zip

如果您需要 Office 2010 Palettes 的更新库:http: //www.angelonline.net/CodeSamples/Lib_4.2.0.zip

回答by Gary.Ray

I don't know of any open source or free tab controls, but I wonder why you don't just use the framework's tab control. Is there something you are trying to do that the Forms.TabControl doesn't do?

我不知道有任何开源或免费的选项卡控件,但我想知道您为什么不只使用框架的选项卡控件。您正在尝试做哪些 Forms.TabControl 没有做的事情?

回答by flipdoubt

My first suggestion would be to talk to Phil at ComponentFactory. I find him to be a very reasonable fellow. Maybe he can give you a special deal or make a design suggestion on how to customize the existing tab control.

我的第一个建议是与 ComponentFactory 的 Phil 交谈。我觉得他是一个非常讲道理的人。也许他可以给你一个特殊的交易或就如何自定义现有的选项卡控件提出设计建议。

But your's is more of a design/subjective question that, I think, would benefit from a screenshot to better communicate the design challenge you need to "integrate better". Saying "the default one doesn't quite fit" is pretty vague.

但您的问题更多是一个设计/主观问题,我认为,这将受益于屏幕截图,以更好地传达您“更好地集成”所需的设计挑战。说“默认的不太合适”是很模糊的。

After that, people will have a better starting point for making suggestions. In the mean time, I would look at the WindowsClient.NET control gallery.

之后,人们将有一个更好的起点来提出建议。同时,我会查看WindowsClient.NET 控件库

回答by Rune Grimstad

You could look at the Magic TabControl projectover at CodeProject.

您可以在 CodeProject 上查看Magic TabControl 项目

回答by Rune Grimstad

  1. Download the Flat Tab Control(.NET) from Code Project. Takes about 30 seconds to get this working, and it gets you away from the default Windows tab control look and feel. But it's not Kryptonized.
  2. See this post on a slick custom Kryptonized Tab Controlbased on the Flat Tab control you built in Step 1. You can download the control assemblyon this downloads page(it's a little hard to find). So far as I know, the source code isn't available, however, Reflector can be of use here if you're curious as to how the Krypton-theming was done.
  3. Replace the Flat Tab display logic (Paint, etc.) with Krypton-aware display logic. This is straightforward, because there's not a lot of code tothe Flat Tab control.
  1. 从代码项目下载平面选项卡控件(.NET)。大约需要 30 秒才能完成这项工作,它让您远离默认的 Windows 选项卡控件外观。但它不是氪化的。
  2. 基于您在步骤 1 中构建的 Flat Tab 控件的光滑自定义 Kryptonized Tab 控件上查看这篇文章。您可以在此下载页面下载控件程序集(有点难找到)。据我所知,源代码不可用,但是,如果您对 Krypton 主题是如何完成的感到好奇,那么 Reflector 可以在这里使用。
  3. 用 Krypton-aware 显示逻辑替换 Flat Tab 显示逻辑(Paint 等)。这是简单的,因为没有大量的代码,以扁平标签控件。

回答by Colin Smith

If anyone is looking for the latest version of the AC.ExtendedRenderer.ToolKitwhich is mentioned in other posts, then the following links point to the central source of them. However the website is dead....even WaybackMachine can't help us get to the DLLs :(!

如果有人正在寻找AC.ExtendedRenderer.ToolKit其他帖子中提到的最新版本,那么以下链接指向它们的中心来源。然而该网站已经死了......即使是 WaybackMachine 也无法帮助我们访问 DLL :(!

The latest I have been able to find is 4.1.6b here:

我能在这里找到的最新版本是 4.1.6b:

If anyone knows where the later versions can be downloaded, please let us know.

如果有人知道在哪里可以下载更高版本,请告诉我们。

EDIT: The Component Factory Krypton components were migrated to https://github.com/ComponentFactory/Krypton

编辑:组件工厂氪组件被迁移到https://github.com/ComponentFactory/Krypton