private RibbonGroup CreateGroup2() { Gallery gallery = new Gallery (); gallery.AppendTile (new SampleTile ("1")); gallery.AppendTile (new SampleTile ("2")); gallery.AppendTile (new SampleTile ("3")); gallery.AppendTile (new SampleTile ("4")); gallery.AppendTile (new SampleTile ("5")); RibbonGroup group2 = new RibbonGroup (); group2.Label = "Gallery"; group2.Child = gallery; return group2; }