Wrap Panel
-
Thursday, March 22, 2012 5:45 PM
Is there a WrapPanel-like control in WinRT? I am not referring to the WrapGrid and VariableSizedWrapGrid, which can only be used as ItemsPanel.
All Replies
-
Thursday, March 22, 2012 9:59 PM
VariabeSizedWrapGrid can be used outside the context of an ItemPanelTemplate in Windows Consumer Preview.
Dev@Mic
- Proposed As Answer by Harikrishna MenonMicrosoft Employee Thursday, March 22, 2012 9:59 PM
- Marked As Answer by Min ZhuMicrosoft Contingent Staff, Moderator Monday, March 26, 2012 3:00 AM
- Unmarked As Answer by Bayprince Thursday, March 29, 2012 3:30 PM
-
Thursday, March 29, 2012 3:31 PM
As mentioned in my first post, I am not referring to the WrapGrid and VariableSizedWrapGrid.
The WrapGrid doesn't work outside of the ItemPanelTemplate.
-
Friday, April 13, 2012 5:28 PM
Hey there, I was looking for the same functionality for a metro app. The best there is a silverlight 2.0 implementation of WrapPanel on CodeProject (http://www.codeproject.com/Articles/24141/WrapPanel-for-Silverlight-2-0) You can just copy paste the class, but you would have to use different namespaces.
In my case, I had use it as the item host of a ListBox, and worked out perfectly. I am not sure if it would help you.
Can Bilgin
Blog CompuSight -
Tuesday, April 24, 2012 2:49 AMModerator
Hi Bayprince,
It seems you are looking for a " WrapPanel-like control" that can be used outside of the itemPaneltemplate.
The VariabeSizedWrapGrid which Harikrishna mentioned above meets your requirement.
If you have any further questions, please feel free to elaborate it so we can help.
Have a nice day!
Min Zhu [MSFT]
MSDN Community Support | Feedback to us
-
Saturday, June 16, 2012 9:56 PMCal's answer's actually right. I don't see how a VariableSizedWrapGrid serves the purpose asked, because it needs explicit item preparation. The SL WrapPanel works nicely within WinRT without changes and can deal with arbitrary sizes on its own.
-
Wednesday, August 08, 2012 11:34 AM
Is there any news on this?
The advantage of the WrapPanel was that its cells fit perfectly to each individual item. This cannot be achieved with the VSWG.


