0

so I have a question regarding my stackpanel I'm using.

Basically when I keep adding items (expenses/earnings) the into the stackpanel I will eventually be short on navigational space and ultimately the older entries be overwritten.

So at the moment it has a maximum of five entries that can be added and displayed all at one. However If I add another entry/item/expense etc the first entry will be removed/not seen in the stackpanel

So in the picture, as soon as a 6th item is added the 1st item in the list will be removed/not visible

Kind of hard to explain, hope you can help!

enter image description here

More code:

pivotItem XAML

ItemsList control XAML

Simon Sarris
  • 62,212
  • 13
  • 141
  • 171
AlexDuncan
  • 95
  • 1
  • 3
  • 12

1 Answers1

0

put the stackpanel in a scrollviewer. This should allow for automatic resizing as more data is added and you can scroll through it as well

Alex Bettadapur
  • 118
  • 1
  • 8