Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C# + WPF + WrapPanel

Name: The Hash-Slinging Slasher 2011-12-01 0:02

If someone is familiar with WPF in C#, I'd love a bit of guidance here...

My goal: Create a gallery of thumbnails within a WrapPanel, given filePaths already defined in a ListBox's Collection.

I'm not really sure how the properties of the WrapPanel control work though, since it doesn't seem to have anything like a Source property. Does anyone know how I might be able to do this?

Name: Anonymous 2011-12-01 14:13

>>7

It's mostly Visual-Studio UI control shit.

- The file path is just a file path
- The WrapPanel is essentially the "container" for the UI elements I want to add/instantiate
- The ListBox is another UI container that, as the name implies, is a box listing shit - in this case, each photo in an album.

The ListBox is already bound to the photo data, I need a way to also bind that data to the WrapPanel, or do some other magical shit.



And yes, this is for a homework assignment. 95% of the program requirements have already been met, I just need to add this. Problem is, we never really went over how to add this kind of shit to a WrapPanel.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List