本示例主要展示如何在XtraGrid网格控件(包含在DevExpress WinForms套包中)的主视图中指定HyperLinkEdit控件作为列编辑器
2020-12-13 05:46
阅读:540
标签:winform style blog http color os io for
首先,我们需要创建一个相应的repository item,并将其添加到EditorContainer.RepositoryItems属性所指定的repository items的内部集合中。然后,利用GridColumn.ColumnEdit属性,将repository item分配到列。
C#


1 RepositoryItemHyperLinkEdit repHyperLink = new RepositoryItemHyperLinkEdit(); 2 gridControl1.RepositoryItems.Add(repHyperLink); 3 (gridControl1.MainView as GridView).Columns["EMAIL"].ColumnEdit = repHyperLink; 4 //customize the editor 5 repHyperLink.LinkColor = Color.Maroon 6 repHyperLink.Caption = "Click to e-mail"
本示例主要展示如何在XtraGrid网格控件(包含在DevExpress WinForms套包中)的主视图中指定HyperLinkEdit控件作为列编辑器,搜素材,soscw.com
本示例主要展示如何在XtraGrid网格控件(包含在DevExpress WinForms套包中)的主视图中指定HyperLinkEdit控件作为列编辑器
标签:winform style blog http color os io for
原文地址:http://www.cnblogs.com/lwaixd/p/3883770.html
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:本示例主要展示如何在XtraGrid网格控件(包含在DevExpress WinForms套包中)的主视图中指定HyperLinkEdit控件作为列编辑器
文章链接:http://soscw.com/index.php/essay/31748.html
文章标题:本示例主要展示如何在XtraGrid网格控件(包含在DevExpress WinForms套包中)的主视图中指定HyperLinkEdit控件作为列编辑器
文章链接:http://soscw.com/index.php/essay/31748.html
评论
亲,登录后才可以留言!