Is there any kind of simple (non-custom-coded) equivalent to WPFs Grid.IsSharedSizeScope
in Windows 8/RT XAML?
I have ListViewItem
s that are divided into 3 horizontal sections and those 3 columns need to be aligned (to the widest width each) to all the bound ListViewItem
.
Here's a sample code how to divide stackpanels inside listview
Give a try your content will go inside the three stack panels. While the stackpanel that decides the orientation of the items in list view has been set to meet parents width and grid has been stretched to meet the parents width.
Since that was for wpf I found a Metro solution to the problem. Ill paste the entire code in here. :)
and the code behind . just to give a try did not use MVVM
Here's the cs
and the class that I bind was as follows
Hope this will help.
Ok and last answer I did not edit since this was a bit too long and wanted to show the entire demo i was researching on so that it could benifit you.