开发者

ctrl+tab functinality in WPF

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜