Пример #1
0
        public WomenDataSource()
        {
            String ITEM_CONTENT = String.Format("Item Content: {0}\n\n{0}\n\n{0}\n\n{0}\n\n{0}\n\n{0}\n\n{0}",
                        "Nivax Women Data Source");

            var group1 = new WomenDataGroup("Group-1",
                    "casual dresses",
                    "Group Subtitle: 1",
                    "Assets/DarkGray.png",
                    "Group Description: Nivax Group Description");
            group1.Items.Add(new WomenDataItem("Group-1-Item-1",
                    "Lorem ipsum dolor",
                    "830.00",
                    "Assets/WomenPage/WomenPage1.png",
                    "women",
                    ITEM_CONTENT,
                    group1) { GroupItemImage = "../Assets/groupDetailPage/WomenGroupItemIImage1.png" });
            group1.Items.Add(new WomenDataItem("Group-1-Item-2",
                   "Lorem ipsum dolor",
                    "830.00",
                     "Assets/WomenPage/WomenPage2.png",
                    "women",
                    ITEM_CONTENT,
                    group1){ GroupItemImage = "../Assets/groupDetailPage/WomenGroupItemIImage2.png" });
            group1.Items.Add(new WomenDataItem("Group-1-Item-3",
                    "Lorem ipsum dolor",
                    "830.00",
                     "Assets/WomenPage/WomenPage3.png",
                   "women",
                    ITEM_CONTENT,
                    group1){ GroupItemImage = "../Assets/groupDetailPage/WomenGroupItemIImage3.png" });
            group1.Items.Add(new WomenDataItem("Group-1-Item-4",
                    "Lorem ipsum dolor",
                    "830.00",
                     "Assets/WomenPage/WomenPage4.png",
                    "women",
                    ITEM_CONTENT,
                    group1){ GroupItemImage = "../Assets/groupDetailPage/WomenGroupItemIImage4.png" });
            group1.Items.Add(new WomenDataItem("Group-1-Item-5",
                    "Lorem ipsum dolor",
                    "830.00",
                    "Assets/HubPage/HubPage5.png",
                    "women",
                    ITEM_CONTENT,
                    group1){ GroupItemImage = "../Assets/groupDetailPage/WomenGroupItemIImage5.png" });
            group1.Items.Add(new WomenDataItem("Group-1-Item-6",
                    "Lorem ipsum dolor",
                    "830.00",
                     "Assets/WomenPage/WomenPage6.png",
                    "women",
                    ITEM_CONTENT,
                    group1){ GroupItemImage = "../Assets/groupDetailPage/WomenGroupItemIImage6.png" });
            this.AllGroups.Add(group1);

            var group2 = new WomenDataGroup("Group-2",
                    "formal dresses",
                    "Group Subtitle: 2",
                    "Assets/LightGray.png",
                    "Group Description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus tempor scelerisque lorem in vehicula. Aliquam tincidunt, lacus ut sagittis tristique, turpis massa volutpat augue, eu rutrum ligula ante a ante");
            group2.Items.Add(new WomenDataItem("Group-2-Item-1",
                   "Lorem ipsum dolor",
                    "830.00",
                     "Assets/WomenPage/WomenPage7.png",
                    "women",
                    ITEM_CONTENT,
                    group2){ GroupItemImage = "../Assets/WomenPage/WomenPage7.png" });
            group2.Items.Add(new WomenDataItem("Group-2-Item-2",
                    "Lorem ipsum dolor",
                    "830.00",
                     "Assets/WomenPage/WomenPage8.png",
                    "women",
                    ITEM_CONTENT,
                    group2){ GroupItemImage = "../Assets/WomenPage/WomenPage8.png" });
            group2.Items.Add(new WomenDataItem("Group-2-Item-3",
                     "Lorem ipsum dolor",
                    "830.00",
                     "Assets/WomenPage/WomenPage9.png",
                    "women",
                    ITEM_CONTENT,
                    group2){ GroupItemImage = "../Assets/WomenPage/WomenPage9.png" });
            group2.Items.Add(new WomenDataItem("Group-2-Item-4",
                    "Lorem ipsum dolor",
                   "830.00",
                    "Assets/WomenPage/WomenPage10.png",
                   "women",
                    ITEM_CONTENT,
                   group2){ GroupItemImage = "../Assets/WomenPage/WomenPage10.png" });
            group2.Items.Add(new WomenDataItem("Group-2-Item-5",
                    "Lorem ipsum dolor",
                   "830.00",
                    "Assets/WomenPage/WomenPage11.png",
                   "women",
                    ITEM_CONTENT,
                   group2){ GroupItemImage = "../Assets/WomenPage/WomenPage11.png" });
            group2.Items.Add(new WomenDataItem("Group-2-Item-6",
                    "Lorem ipsum dolor",
                   "830.00",
                    "Assets/WomenPage/WomenPage12.png",
                   "women",
                    ITEM_CONTENT,
                   group2){ GroupItemImage = "../Assets/WomenPage/WomenPage12.png" });
            this.AllGroups.Add(group2);

             var group3 = new WomenDataGroup("Group-3",
                    "accessories",
                    "Group Subtitle: 2",
                    "Assets/LightGray.png",
                    "Group Description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus tempor scelerisque lorem in vehicula. Aliquam tincidunt, lacus ut sagittis tristique, turpis massa volutpat augue, eu rutrum ligula ante a ante");
            group3.Items.Add(new WomenDataItem("Group-3-Item-1",
                   "Lorem ipsum dolor",
                    "830.00",
                    "Assets/WomenPage/WomenPage13.png",
                    "women",
                    ITEM_CONTENT,
                    group3){ GroupItemImage = "../Assets/WomenPage/WomenPage13.png" });
            group3.Items.Add(new WomenDataItem("Group-3-Item-2",
                    "Lorem ipsum dolor",
                    "830.00",
                    "Assets/WomenPage/WomenPage14.png",
                    "women",
                    ITEM_CONTENT,
                    group3){ GroupItemImage = "../Assets/WomenPage/WomenPage14.png" });
            group3.Items.Add(new WomenDataItem("Group-2-Item-3",
                     "Lorem ipsum dolor",
                    "830.00",
                     "Assets/WomenPage/WomenPage15.png",
                    "women",
                    ITEM_CONTENT,
                    group3){ GroupItemImage = "../Assets/WomenPage/WomenPage15.png" });
            group3.Items.Add(new WomenDataItem("Group-3-Item-4",
                    "Lorem ipsum dolor",
                   "830.00",
                    "Assets/WomenPage/WomenPage16.png",
                   "women",
                    ITEM_CONTENT,
                   group3){ GroupItemImage = "../Assets/WomenPage/WomenPage16.png" });
            group3.Items.Add(new WomenDataItem("Group-2-Item-5",
                    "Lorem ipsum dolor",
                   "830.00",
                    "Assets/WomenPage/WomenPage17.png",
                   "women",
                    ITEM_CONTENT,
                   group3){ GroupItemImage = "../Assets/WomenPage/WomenPage17.png" });
            group3.Items.Add(new WomenDataItem("Group-3-Item-6",
                    "Lorem ipsum dolor",
                   "830.00",
                    "Assets/WomenPage/WomenPage18.png",
                   "women",
                    ITEM_CONTENT,
                   group3){ GroupItemImage = "../Assets/WomenPage/WomenPage18.png" });
            this.AllGroups.Add(group3);
        }
Пример #2
0
        public WomenDataSource()
        {
            String ITEM_CONTENT = String.Format("Item Content: {0}\n\n{0}\n\n{0}\n\n{0}\n\n{0}\n\n{0}\n\n{0}",
                                                "Nivax Women Data Source");

            var group1 = new WomenDataGroup("Group-1",
                                            "casual dresses",
                                            "Group Subtitle: 1",
                                            "Assets/DarkGray.png",
                                            "Group Description: Nivax Group Description");

            group1.Items.Add(new WomenDataItem("Group-1-Item-1",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage1.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group1)
            {
                GroupItemImage = "../Assets/groupDetailPage/WomenGroupItemIImage1.png"
            });
            group1.Items.Add(new WomenDataItem("Group-1-Item-2",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage2.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group1)
            {
                GroupItemImage = "../Assets/groupDetailPage/WomenGroupItemIImage2.png"
            });
            group1.Items.Add(new WomenDataItem("Group-1-Item-3",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage3.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group1)
            {
                GroupItemImage = "../Assets/groupDetailPage/WomenGroupItemIImage3.png"
            });
            group1.Items.Add(new WomenDataItem("Group-1-Item-4",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage4.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group1)
            {
                GroupItemImage = "../Assets/groupDetailPage/WomenGroupItemIImage4.png"
            });
            group1.Items.Add(new WomenDataItem("Group-1-Item-5",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/HubPage/HubPage5.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group1)
            {
                GroupItemImage = "../Assets/groupDetailPage/WomenGroupItemIImage5.png"
            });
            group1.Items.Add(new WomenDataItem("Group-1-Item-6",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage6.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group1)
            {
                GroupItemImage = "../Assets/groupDetailPage/WomenGroupItemIImage6.png"
            });
            this.AllGroups.Add(group1);

            var group2 = new WomenDataGroup("Group-2",
                                            "formal dresses",
                                            "Group Subtitle: 2",
                                            "Assets/LightGray.png",
                                            "Group Description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus tempor scelerisque lorem in vehicula. Aliquam tincidunt, lacus ut sagittis tristique, turpis massa volutpat augue, eu rutrum ligula ante a ante");

            group2.Items.Add(new WomenDataItem("Group-2-Item-1",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage7.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group2)
            {
                GroupItemImage = "../Assets/WomenPage/WomenPage7.png"
            });
            group2.Items.Add(new WomenDataItem("Group-2-Item-2",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage8.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group2)
            {
                GroupItemImage = "../Assets/WomenPage/WomenPage8.png"
            });
            group2.Items.Add(new WomenDataItem("Group-2-Item-3",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage9.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group2)
            {
                GroupItemImage = "../Assets/WomenPage/WomenPage9.png"
            });
            group2.Items.Add(new WomenDataItem("Group-2-Item-4",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage10.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group2)
            {
                GroupItemImage = "../Assets/WomenPage/WomenPage10.png"
            });
            group2.Items.Add(new WomenDataItem("Group-2-Item-5",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage11.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group2)
            {
                GroupItemImage = "../Assets/WomenPage/WomenPage11.png"
            });
            group2.Items.Add(new WomenDataItem("Group-2-Item-6",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage12.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group2)
            {
                GroupItemImage = "../Assets/WomenPage/WomenPage12.png"
            });
            this.AllGroups.Add(group2);

            var group3 = new WomenDataGroup("Group-3",
                                            "accessories",
                                            "Group Subtitle: 2",
                                            "Assets/LightGray.png",
                                            "Group Description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus tempor scelerisque lorem in vehicula. Aliquam tincidunt, lacus ut sagittis tristique, turpis massa volutpat augue, eu rutrum ligula ante a ante");

            group3.Items.Add(new WomenDataItem("Group-3-Item-1",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage13.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group3)
            {
                GroupItemImage = "../Assets/WomenPage/WomenPage13.png"
            });
            group3.Items.Add(new WomenDataItem("Group-3-Item-2",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage14.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group3)
            {
                GroupItemImage = "../Assets/WomenPage/WomenPage14.png"
            });
            group3.Items.Add(new WomenDataItem("Group-2-Item-3",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage15.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group3)
            {
                GroupItemImage = "../Assets/WomenPage/WomenPage15.png"
            });
            group3.Items.Add(new WomenDataItem("Group-3-Item-4",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage16.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group3)
            {
                GroupItemImage = "../Assets/WomenPage/WomenPage16.png"
            });
            group3.Items.Add(new WomenDataItem("Group-2-Item-5",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage17.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group3)
            {
                GroupItemImage = "../Assets/WomenPage/WomenPage17.png"
            });
            group3.Items.Add(new WomenDataItem("Group-3-Item-6",
                                               "Lorem ipsum dolor",
                                               "830.00",
                                               "Assets/WomenPage/WomenPage18.png",
                                               "women",
                                               ITEM_CONTENT,
                                               group3)
            {
                GroupItemImage = "../Assets/WomenPage/WomenPage18.png"
            });
            this.AllGroups.Add(group3);
        }
Пример #3
0
 public WomenDataItem(String uniqueId, String title, String subtitle, String imagePath, String description, String content, WomenDataGroup group)
     : base(uniqueId, title, subtitle, imagePath, description)
 {
     this._content = content;
     this._group = group;
 }
Пример #4
0
 public WomenDataItem(String uniqueId, String title, String subtitle, String imagePath, String description, String content, WomenDataGroup group)
     : base(uniqueId, title, subtitle, imagePath, description)
 {
     this._content = content;
     this._group   = group;
 }