开发者

ctrl+tab functinality in WPF

开发者 https://www.devze.com 2023-01-13 10:41 出处:网络
If you press ctrl+tab in the .NET IDE, it shows all the active fi开发者_运维百科les and their images. Can anybody tell me how to implement this functionally using WPF?My guess would be to use a Grid c

If you press ctrl+tab in the .NET IDE, it shows all the active fi开发者_运维百科les and their images. Can anybody tell me how to implement this functionally using WPF?


My guess would be to use a Grid control and probably a custom control that can show an Image alongside some text (probably use a Label or TextBlock). You can then enumerate your open files and create one control for each, placing it into the columns and rows of the Grid.

Give it a try and tell us how you get on. It would be great to see you post back with your solution or a link to your solution. Good luck!

0

精彩评论

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