开发者

Text Formatting Within a .NET Label [duplicate]

开发者 https://www.devze.com 2023-03-10 05:57 出处:网络
This question already has answers here: Closed 11 years ago. Possible Dupl开发者_开发知识库icate:
This question already has answers here: Closed 11 years ago.

Possible Dupl开发者_开发知识库icate:

Make portion of a Label's Text to be styled bold

What is the standard / best practices way to achieve the effect of text formatting within a label in a standard .NET Windows Forms Application?

For example, I want a label I would programatically change. However, I might want a particular word in the label to be bold.

Note: VB.NET answer preferred, C# okay.


This is not possible with the built in label controls. Many third party vendors provide controls with this capability (via HTML-like markup). We have used Telerik's winform suite with success for this.

0

精彩评论

暂无评论...
验证码 换一张
取 消