//public bool Active //{ // get { return ((GnosisGalleryItem)ControlImplementation).Active; } // set // { // ((GnosisGalleryItem)ControlImplementation).Active = value; // OnPropertyChanged("Active"); // } //} //public bool Disabled //{ // get { return ((GnosisGalleryItem)ControlImplementation).Disabled; } // set // { // ((GnosisGalleryItem)ControlImplementation).Disabled = value; // OnPropertyChanged("Disabled"); // } //} public GnosisGalleryItemController( GnosisGalleryItem galleryItem, // IGnosisGalleryItemImplementation galleryItemImplementation, GnosisInstanceController instanceController, GnosisGalleryController parent) : base(galleryItem, instanceController, parent) { childControllers = new List <GnosisGalleryItemController>(); }
public override void Setup() { base.Setup(); ((IGnosisNavFrameImplementation)ControlImplementation).SetHorizontalAlignment(HorizontalAlignmentType.STRETCH); galleryControllers = new List <GnosisGalleryController>(); foreach (GnosisGallery gallery in ((GnosisNavigatorFrame)ControlImplementation).Galleries) { // IGnosisGalleryImplementation galleryImplementation = GlobalData.Singleton.ImplementationCreator.GetGnosisGalleryImplementation(); GnosisGalleryController galleryController = new GnosisGalleryController(gallery, InstanceController, this); galleryController.Setup(); childControllers.Add(galleryController); galleryControllers.Add(galleryController); } }