Beispiel #1
0
        //// -----
        //// IFlyoutBaseOverrides Impl
        //// -----
        protected override Control CreatePresenter()
        {
            DatePickerFlyoutPresenter spFlyoutPresenter;

            spFlyoutPresenter = new DatePickerFlyoutPresenter();
            _tpPresenter      = spFlyoutPresenter;
            return(_tpPresenter as Control);
        }
Beispiel #2
0
        protected override Control CreatePresenter()
        {
            _datePickerPresenter = new DatePickerFlyoutPresenter()
            {
                Content = Content
            };

            AttachAcceptCommand(_datePickerPresenter);

            return(_datePickerPresenter);
        }
Beispiel #3
0
        protected override Control CreatePresenter()
        {
            var presenter = new DatePickerFlyoutPresenter()
            {
                Style   = FlyoutPresenterStyle,
                Content = Content
            };

            AttachAcceptCommand(presenter);

            return(presenter);
        }
Beispiel #4
0
        protected override Control CreatePresenter()
        {
            _presenter = new DatePickerFlyoutPresenter()
            {
                Content = _selector
            };

            _presenterLoadedDisposable.Disposable   = Disposable.Create(() => _presenter.Loaded -= OnPresenterLoaded);
            _presenterUnloadedDisposable.Disposable = Disposable.Create(() => _presenter.Unloaded -= OnPresenterUnloaded);

            _presenter.Loaded   += OnPresenterLoaded;
            _presenter.Unloaded += OnPresenterUnloaded;

            return(_presenter);
        }