amit kohan
amit kohan

Reputation: 1618

WPF and thumbnail

I'm new to this concept but I'm sure there should be solution to it. I'm storing a design (a series of lines and shapes) as XML, also can save/load the drawing into/from XML file. Now, new idea is:

1) How to show a thumbnail of the drawing such could be placed on a toolbar or panel (as toolbox)

2) By dragging/dropping of this thumbnail on a canvas it will open and show the drawing.

Upvotes: 0

Views: 313

Answers (1)

Rikki
Rikki

Reputation: 3518

You should know more about "ViewBox" that is made for thumbnail things and it has many other usages. You can give it any WPF contents and it will do the thumbnail thing by some specific options.

Cheers

Upvotes: 1

Related Questions