Beispiel #1
0
        void init()
        {
            Width  = DeviceWidth;
            Height = DeviceHeight;

            _backscroll = new BackgroundScroll();
            _backscroll.PropertyChanged += _backscroll_PropertyChanged;
            Children.Add(_backscroll);
            _textscroll = new MultiTextScroll();
            _textscroll.ISlideElementSizeChanged += _textscroll_ISlideElementSizeChanged;
            Children.Add(_textscroll);
            _manipulablescroll = new ManipulableScroll();
            _manipulablescroll.PropertyChanged         += _manipulablescroll_PropertyChanged;
            _manipulablescroll.Animate2IndexEvent      += _manipulablescroll_Animate2IndexEvent;
            _manipulablescroll.MLManipulationStarted   += _manipulablescroll_MLManipulationStarted;
            _manipulablescroll.MLManipulationDelta     += _manipulablescroll_MLManipulationDelta;
            _manipulablescroll.MLManipulationCompleted += _manipulablescroll_MLManipulationCompleted;
            Children.Add(_manipulablescroll);
        }
        void init()
        {
            Width = DeviceWidth;
            Height = DeviceHeight;

            _backscroll = new BackgroundScroll();
            _backscroll.PropertyChanged += _backscroll_PropertyChanged; 
            Children.Add(_backscroll);
            _textscroll = new MultiTextScroll();
            _textscroll.ISlideElementSizeChanged += _textscroll_ISlideElementSizeChanged;
            Children.Add(_textscroll);
            _manipulablescroll = new ManipulableScroll();
            _manipulablescroll.PropertyChanged += _manipulablescroll_PropertyChanged;
            _manipulablescroll.Animate2IndexEvent += _manipulablescroll_Animate2IndexEvent;
            _manipulablescroll.MLManipulationStarted += _manipulablescroll_MLManipulationStarted;
            _manipulablescroll.MLManipulationDelta += _manipulablescroll_MLManipulationDelta;
            _manipulablescroll.MLManipulationCompleted += _manipulablescroll_MLManipulationCompleted;
            Children.Add(_manipulablescroll);
        }