示例#1
0
文件: Flyout.cs 项目: zzyzy/uno
 protected override Control CreatePresenter()
 {
     return(_presenter = new FlyoutPresenter()
     {
         Style = FlyoutPresenterStyle,
         Content = Content
     });
 }
示例#2
0
        protected override Control CreatePresenter()
        {
            _presenter = new FlyoutPresenter();
            SetPresenterStyle();
            _presenter.Content = Content;

            return(_presenter);
        }
示例#3
0
        protected override Control CreatePresenter()
        {
            _presenter = new FlyoutPresenter();
            SetPresenterStyle();
            _presenter.Content = Content;

            SynchronizeNamescope();

            return(_presenter);
        }
示例#4
0
        public Flyout()
        {
            _popup = new Popup()
            {
                Child = _presenter = CreatePresenter() as FlyoutPresenter,
            };

            InitializePartial();

            _popup.Opened += OnPopupOpened;
            _popup.Closed += OnPopupClosed;
        }