Beispiel #1
0
 PageGroup CreateGroupItemDetailPage(SampleDataGroup group, PageGroup child)
 {
     GroupDetailPage page = new GroupDetailPage(group, child);
     PageGroup pageGroup = page.PageGroup;
     BaseDocument document = windowsUIView.AddDocument(page);
     pageGroup.Parent = tileContainer;
     pageGroup.Items.Add(document as Document);
     windowsUIView.ContentContainers.Add(pageGroup);
     windowsUIView.ActivateContainer(pageGroup);
     return pageGroup;
 }
Beispiel #2
0
        PageGroup CreateGroupItemDetailPage(SampleDataGroup group, PageGroup child)
        {
            GroupDetailPage page      = new GroupDetailPage(group, child);
            PageGroup       pageGroup = page.PageGroup;
            BaseDocument    document  = windowsUIView.AddDocument(page);

            pageGroup.Parent = tileContainer;
            pageGroup.Items.Add(document as Document);
            windowsUIView.ContentContainers.Add(pageGroup);
            windowsUIView.ActivateContainer(pageGroup);
            return(pageGroup);
        }