This question is related to Silverlight and WPF, as I may need to use this
technique in both sorts of apps.
My app's main Grid parent control can contain different types of child
controls that display data in various ways. I internally maintain a 16-deep
List of the children, I push a new
I'm not sure what you're asking - how to achieve the 4x4 grid (I'd use
uniformgrid in WPF...I don't think SL has this) or how to display a
thumbnail of an arbitrary control? (I'd use VisualBrush or
RenderTargetBitmap in WPF - SL has VisualBrush)
Joseph
On Mon, Dec 6, 2010 at 3:43 PM, Greg Keogh
You could look at the wrappanel in the Silverlight toolkit. That would
handle your wrapping in a 4 x 4 grid (if you limit the width).
If you want to get fancy you could write your own custom control,
basing it on a Panel. That way you can have full control over how your
panel displays its
A processor-intensive way might be to set up your grid with 4 equally spaced
rows and columns (each Size: 1*). Wrap each control in viewbox, then when the
user hits the key, place each control (viewbox) in a table cell, sized to fit
the cell.
Downsides:
- processor intensive
- The controls
I will be out of the office starting 06/12/2010 and will not return until
23/12/2010.
Please contact Mike Copley or Ian Lister if the matter requires addressing
before then.
Note: This is an automated response to your message Control thumbnails
sent on 6/12/10 13:43:49.
This is the only