Source/TextMarkup/MarkupSettings.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Text;
using System.Drawing;
namespace DevComponents.DotNetBar.TextMarkup
{
#if FRAMEWORK20
public static class MarkupSettings
#else
public class MarkupSettings
#endif
{
private static HyperlinkStyle _NormalHyperlink = new HyperlinkStyle(Color.Blue, eHyperlinkUnderlineStyle.SolidLine);
/// <summary>
/// Gets the style of the hyperlink in its default state.
/// </summary>
public static HyperlinkStyle NormalHyperlink
{
get { return _NormalHyperlink; }
}
private static HyperlinkStyle _MouseOverHyperlink = new HyperlinkStyle();
/// <summary>
/// Gets the style of the hyperlink when mouse is over the link.
/// </summary>
public static HyperlinkStyle MouseOverHyperlink
{
get { return _MouseOverHyperlink; }
}
private static HyperlinkStyle _VisitedHyperlink = new HyperlinkStyle();
/// <summary>
/// Gets the style of the visited hyperlink.
/// </summary>
public static HyperlinkStyle VisitedHyperlink
{
get { return _VisitedHyperlink; }
}
}
/// <summary>
/// Defines the text-markup hyperlink appearance style.
/// </summary>
public class HyperlinkStyle
{
/// <summary>
/// Initializes a new instance of the HyperlinkStyle class.
/// </summary>
public HyperlinkStyle()
{
}
/// <summary>
/// Initializes a new instance of the HyperlinkStyle class.
/// </summary>
/// <param name="textColor"></param>
/// <param name="underlineStyle"></param>
public HyperlinkStyle(Color textColor, eHyperlinkUnderlineStyle underlineStyle)
{
_TextColor = textColor;
后面还有 79 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。