Пример #1
0
        // This pattern is still active both before the user takes a photo and on any blank space due to letterboxing
        //string backgroundPatternFilename = "ImageImprov.IconImages.pattern.png";
        //
        //   END Variables related/needed for images to place background on screen.
        //

        public CameraContentPage()
        {
            Debug.WriteLine("DHB:CameraContentPage:CameraContentPage in ctor ok");
            assembly              = this.GetType().GetTypeInfo().Assembly;
            selectionView         = new CameraCategorySelectionView(this);
            createView            = new CameraCreateCategoryView(this);
            submitView            = new CameraEnterPhotoView(this);
            eventView             = new EventDetailPage(this);
            eventCategoryImgsView = new EventCategoryImagesPage(this);
            Debug.WriteLine("DHB:CameraContentPage:CameraContentPage post view creation.");

            buildUI();
        }
Пример #2
0
        public EventsHistory_Profile()
        {
            eventView             = new EventDetailPage(this);
            eventCategoryImgsView = new EventCategoryImagesPage(this);

            myEvents = new ListView {
                HasUnevenRows   = true,
                BackgroundColor = GlobalStatusSingleton.backgroundColor,
                //RowHeight = 32,
                ItemsSource         = events,
                ItemTemplate        = myDataTemplate,
                SeparatorVisibility = SeparatorVisibility.None,
                Margin = 1,
            };
            myEvents.ItemSelected += OnRowTapped;

            buildUI();
        }