简体   繁体   English

单击ListView列标题将文本添加到剪贴板-C#

[英]Adding Text to Clipboard on Click of ListView Column Header - C#

Is there a an event for ListViews that are activated when one of the column headers are clicked on? 单击列标题之一时是否激活了ListViews事件? The plan was to add some text to the user's clipboard when they click on the column header. 计划是在用户单击列标题时向用户剪贴板添加一些文本。 Is there any easy way to do this? 有没有简单的方法可以做到这一点?

See link below for the column header click event, where you would add some text to the user's clipboard. 请参阅下面的链接以获取列标题单击事件,您可以在其中将一些文本添加到用户剪贴板。

http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.columnclick.aspx http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.columnclick.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM