public ThreadPageSlideView()
        {
            InitializeComponent();

            this._toggleAppBar = ToggleAppBarDummy;

            HideTitleOverlay();
            VisualStateManager.GoToState(this, "Loading", false);

            var gestures = GestureService.GetGestureListener(this.LayoutRoot);
            gestures.DoubleTap += ShowThreadTitle;

            gestures.PinchStarted += OnLayoutPinchStarted;
            gestures.PinchDelta += OnLayoutPinchDelta;
            gestures.PinchCompleted += OnLayoutPinchCompleted;

            Loaded += OnLoad;
            Unloaded += OnUnload;
        }
Ejemplo n.º 2
0
        public ThreadPageSlideView()
        {
            InitializeComponent();

            this._toggleAppBar = ToggleAppBarDummy;

            HideTitleOverlay();
            VisualStateManager.GoToState(this, "Loading", false);

            var gestures = GestureService.GetGestureListener(this.LayoutRoot);

            gestures.DoubleTap += ShowThreadTitle;

            gestures.PinchStarted   += OnLayoutPinchStarted;
            gestures.PinchDelta     += OnLayoutPinchDelta;
            gestures.PinchCompleted += OnLayoutPinchCompleted;

            Loaded   += OnLoad;
            Unloaded += OnUnload;
        }