XAML GridView grouping and SemanticZoom sample

This sample demonstrates how to use grouping with the GridView and SemanticZoom controls.

3.4 Star
30,699 times
Add to favorites
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question

  • How do you get GroupInfoList in scenario 1 Observable?
    3 Posts | Last post April 07, 2014
    • So Im trying to use this in combination with MVVM, problem is because of the nature of async datacalls I need to GroupInfoList to be observable. Not sure how I do that. 
      Any help would be appreciated. 
    • Hi Jakli,
      May I suggest using an ObservableCollection to contain your data. Before you display, convert this into a GroupInfoList.
      You can use Linq to help you with this.
    • Problem is that I need the actual GroupInfoList to be observable, since my data is retrieved from a REST service async, meaning when the view binds to the GroupInfoList its usually empty, I need it to update the view when the actual data collection has been populated and converted to the GroupInfoList
  • Semantic Zoom Exception
    1 Posts | Last post April 04, 2014
    • Hi,
      While this is a great example, it doesn't seem to work well with an empty grid. On removing all the items in StoreData(), activating semantic zoom causes an unspecified error on scenario 3 (Enable simple semantic zoom).
      Would anyone know how to resolve this issue, that is how should I handle an empty grid?
      Thanks in advance,
  • If you add more data to each group the items do not show in the ZoomedInView
    1 Posts | Last post May 25, 2013
    • In your example you only have 2 or 3 items in each category, if you add a 'for' loop around one of the items and make 30 of them, when the ZoomInView is shown it only displays a max of 6 items.
      Can you please fix the example so that it shows all the items in large collections and not just 6.
      The MSDN description of a semantic view says that it is for displaying large data groups, but your example just does not show this happening.
  • VB?
    1 Posts | Last post November 21, 2012
    • How is this done is Visual Basic?
  • How to delete GridViewGroupedItem When right clicks/Selection changed on SemanticZoomOut view?
    1 Posts | Last post September 11, 2012
    • How to delete GridViewGroupedItem When right clicks/Selection changed on SemanticZoomOut view? 
      How to get Group.Key when selection changed on SemanticZoomOut View it gets DependencyObjects but i does not found Group.Key?
  • Where is the '-' button to zoom out
    2 Posts | Last post August 02, 2012
    • Hi all,
      On the Html sample (ListView grouping and SemanticZoom sample), a '-' button automatically appears on the lower right corner to switch to zoomed out view once the user moves the mouse into the zoomed-in view, but that is not present on the current c# sample, is there an easy way to do that?
    • Hi firaz,
      You can achieve the functionality by adding a button below the stack panel in the grid and writing a click event to handle the functionality. 
      Add the below tag in XAML file
       <Button x:Name="zoomOut" Click="zoomout_Click_1" Margin="1218.671,556.597,0,33.403" Grid.Row="1" Width="51"
                      FontFamily="Segoe UI Symbol" Content="⚊" Height="38">
      add the event handler in the associated C sharp file
       private void zoomout_Click_1(object sender, RoutedEventArgs e)
      Please add the code and check I hope it will work
      Raja KPV
  • ShortName attribute is invalid
    3 Posts | Last post June 13, 2012
    • I just downloaded the sample and tried to run it.  I'm getting the following error:
      File content does not conform to specified schema. The 'ShortName' attribute is invalid - The value 'Grouped GridView C#' is invalid according to its datatype 'http://schemas.microsoft.com/appx/2010/manifest:ST_ShortDisplayName' - The Pattern constraint failed.	
      Could this have anything to do with the Windows 8 Release Preview being released today?  I'm still running Windows 8 Consumer Preview.
    • Well, I'm not sure it's *the* answer but I started with a new project, added in all the files from the sample and rebuilt and it worked.
    • Just shorten the length of the name in manifest for Short Name on the Application UI tab, it been set to long.
  • Reacting to scroll?
    1 Posts | Last post May 02, 2012
    • Is there a way to react to scroll events from the GridView? Putting a GridView in a ScrollViewer is a simple work-around, but then SemanticZoom doesn't work.
  • Semantic zoom doesn't work
    2 Posts | Last post March 11, 2012
    • Firstly the grid view won't scroll past F on my samsung tablet, and clicking items on the zoomed in doesn't work either.
    • In Scenerio3.xaml, the SemanticZoom control is sitting in a StackPanel that limits the scroll.  Change that to a Grid (and remove the Orientation property setting) and it will scroll.
      The control still has the bug that does not allow it to jump from the letter tapped in the zoomed-out view to the zoomed-in view category.
  • In Scenerio 3 when tapping a letter in the zoomed out view, why doesn't it jump to the same detail in the zoomed in view?
    1 Posts | Last post March 11, 2012
    • You successfully broke this control when you convereted it from JumpViewer to SemanticZoom.  This is a critical control for Metro applications and therefore needs to be bullet-proof.
1 - 10 of 13 Items