开发者

Zooming Vertically Through a DatagridView

开发者 https://www.devze.com 2023-02-28 22:49 出处:网络
There is a functionality I was dreaming of implementing one day, and that day is today. I have a datagrid with hundreds of lines and my client doesn\'t even want to hear about paging (special use case

There is a functionality I was dreaming of implementing one day, and that day is today. I have a datagrid with hundreds of lines and my client doesn't even want to hear about paging (special use case). So I would like to be a开发者_JAVA百科ble to resize all rows AND content (text) with a "magnifying glass +/- " tool that affects the height of all rows in my DGV and also the Font of the text in it. There are many ways to perform this and I wanted to ask what was a convenient and advisable way to do this (As I am more of a server-side than GUI oriented developer)

Thanks in advance


I guess you need to use WPF ..

Refer to the following link:

http://blogs.msdn.com/b/ivo_manolov/archive/2007/10/05/ui-scaling-ui-zooming-with-wpf.aspx


You can use host WPF controls in windows-based applications.

Refer to the following links ..

http://msdn.microsoft.com/en-us/library/ms742215.aspx

WPF control in windows forms?

http://www.programmerfish.com/how-to-add-wpf-controls-in-simple-windows-forms/

http://blogs.infragistics.com/wpf/articles/hosting-a-wpf-control-in-a-windows-forms-application.aspx

0

精彩评论

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

关注公众号