adidas uk originals How to add a Tag list into WinRT universal apps
Sometimes you like to present a list of items to the user. But the requirements for that list are so, that it must remain compact, wrap at the screen edge and editable in that sense that you can remove items quickly.First thing that is very important to note, is the fact that we will be using a RichTextBlock with an InlineUIContainer. We do this, because the RichTextBlock handles the screen wrapping/overflow! That will enable us to add tags and each time a new one is added to the list, the RichtTextBlock will validate if it will still fit the current line, if not it will add a new line and wrap.And to be honest that it! Only thing left to do is add the real tags, that are actual Buttons inside the InlineUIContainer. In the current demo application I doing this in the code behind of the MainPage file, there is a method called SetTags.