public CategoryCommandListingControl(MainStoreControl mainStoreControl, string categoryName, IEnumerable <StoreListingControl> storeListing)
        {
            this.mainStoreControl = mainStoreControl;
            this.categoryName     = categoryName;
            this.storeListing     = storeListing;

            InitializeComponent();
        }
示例#2
0
 public StoreListingControl(MainStoreControl mainStoreControl, StoreListingModel listing)
 {
     this.mainStoreControl = mainStoreControl;
     if (listing != null)
     {
         this.DataContext = this.listing = listing;
     }
 }
 public SmallCommandListingControl(MainStoreControl mainStoreControl, StoreListingModel listing)
     : base(mainStoreControl, listing)
 {
     InitializeComponent();
 }