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 <[email protected]> wrote:

> 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 child onto the top and make it visible,
> the others are pushed down and hidden and the oldest one drops off the end
> when it’s full. So I effectively have an MRU list of up to 16 child controls
> available.
>
>
>
> When the user hits a hotkey I want make all of the children visible and
> tile them in a nice 4 x 4 arrangement as thumbnails.
>
>
>
> I’m just not sure what the best mechanism is to achieve this. At first I
> thought I’d do it manually: centre-position and scale transform each child
> to create a fake tiled arrangement and maintain it on size changes.
>
>
>
> Before I do this manual coding, I thought I’d ask for ideas about better
> techniques.
>
>
>
> Cheers,
>
> Greg
>
> _______________________________________________
> ozsilverlight mailing list
> [email protected]
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

Reply via email to