I'm trying to make an email client. There is a problem with xaml.

When I send a letter, I would like to see a UI of something like this.

ui

Those. There is a window for text and a button for adding an attachment. If I added a picture, it shows that the picture was added (mini-preview). If the video is video (you can just a static image).

Everything is linked to the CList .String - contains the path to the file.

How to make xaml part? It is necessary with a scroll.

The main problem with the dynamic list.

  • one
    And what exactly is the problem with the dynamic list? ObservableCollection<T> + ItemsControl completely decide. - VladD
  • Horizontal ItemControl? Is it possible to try? It is desirable as close as possible to task (e). - hitcode
  • one
    He is configured! Register in ItemsContainer <StackPanel Alignment="Horizontal"/> . - VladD

0