首页 [ 学教实践 ] RichTextBox设置链接源码
一键分享

RichTextBox设置链接源码

  • 免费

2013-12-17 10:31:16

收藏 67 次|关注 1293 次|下载 142 次

免费


交付物: 源码包
    商家已实名认证
  • 分享者:xiaoh***
  • 访问次数:   38635 次
  • 源码数量:   297 套
  • 通过比率:   66%
  • 活跃于:   三个月前
  • TEL:   15*******45
  • 最新IP属地:北京市
  • 微信扫码咨询
.net

源码介绍

源码参数

  • 源码类别:【学教实践】
  • 源码类型:C/S
  • 适合人群: 进阶
  • 授权类型:免费版
  • 开发语言:C#
  • 数据库:无数据库
  • 源码大小:38KB
  • 相关网址: 【免费浏览】
  • 源码指数:
  • 完整度:
  • RichText展示
  • 内容链接
  • 代码片段
  • RichText展示
  • 内容链接
  • 代码片段
  • Aspx.Query.CodeImageQueryModel
  • Aspx.Query.CodeImageQueryModel
  • Aspx.Query.CodeImageQueryModel

RichTextBox设置链接源码

源码描述:
可以添加链接到RichTextBox
RichTextBox标准有一个相当方便的属性:DetectUrls。
当设置这个属性,每次RichTextBox改变文本,文本解析url和匹配的文本范围的链接(下划线,蓝色前台默认情况下)。问题是,只有链接从一个公认的协议(http:, file:, mailto:, ftp:, https:, gopher:, nntp:, prospero:, telnet:, news:, wais:, outlook)。当你不想要这样一个参考,你被难住了,因为标准RichTextBox不允许手动设置的链接样式。此源码示例教您给RichTextBox插入链接
Fortunately, the .NET RichTextBox is only a wrapper around the Win32 RichEdit control, and so its functionality can be extended by adding the necessary wrappers to send the messages the RichEdit control needs.

责任编辑:xiao

下载记录(Only Recent 100)

用户名 推荐指数 下载时间

源码评论

单击更换

评论列表

全部评论
  • 暂无评论 …

最近更新

      下载排行