Inheritance: System.Windows.Controls.UserControl
        public FeedbackPage()
        {
            ApplicationBar               = new ApplicationBar();
            ApplicationBar.Mode          = ApplicationBarMode.Default;
            ApplicationBar.StateChanged += (sender, e) =>
            {
                var bar = (sender as ApplicationBar);
                if (CurrentViewState.Equals(FeedbackViewState.ImageShow) || CurrentViewState.Equals(FeedbackViewState.ImageEdit))
                {
                    if (e.IsMenuVisible)
                    {
                        bar.Opacity = 0.75;
                    }
                    else
                    {
                        bar.Opacity = 0;
                    }
                }
            };

            Action <FeedbackViewState> switchViewStateAction = (newViewState) =>
            {
                SwitchToViewState(newViewState);
            };

            this.VM = new FeedbackPageVM(switchViewStateAction);

            this.formControl  = new FeedbackMessageFormControl(this);
            this.listControl  = new FeedbackMessageListControl(this);
            this.imageControl = new FeedbackImageControl(this);

            initializeAppBarIcons();

            InitializeComponent();
        }
        public FeedbackPage()
        {
            ApplicationBar = new ApplicationBar();
            ApplicationBar.Mode = ApplicationBarMode.Default;
            ApplicationBar.StateChanged += (sender, e) =>
            {
                var bar = (sender as ApplicationBar);
                if (CurrentViewState.Equals(FeedbackViewState.ImageShow) || CurrentViewState.Equals(FeedbackViewState.ImageEdit)) {
                    if (e.IsMenuVisible)
                    {
                        bar.Opacity = 0.75;
                    }
                    else
                    {
                        bar.Opacity = 0;
                    }
                } 
            };

            Action<FeedbackViewState> switchViewStateAction = (newViewState) =>
            {
                SwitchToViewState(newViewState);
            };
            this.VM = new FeedbackPageVM(switchViewStateAction);

            this.formControl = new FeedbackMessageFormControl(this);
            this.listControl = new FeedbackMessageListControl(this);
            this.imageControl = new FeedbackImageControl(this);

            initializeAppBarIcons();
            
            InitializeComponent();
        }