示例#1
0
        internal FloatingDockWindow(FloatingDockWindowController controller)
        {
            this.OverrideStyleKey <FloatingDockWindow>();

            Controller = controller;

            ShowInTaskbar = false;
            ShowActivated = false;

            _presenter        = new ContentPresenter();
            _previewPresenter = new ContentPresenter();

            var host = new Panel
            {
                Children =
                {
                    _previewPresenter,
                    _presenter
                }
            };

            Content = host;

            SizeChanged += OnSizeChanged;
        }
示例#2
0
 public FloatLayoutView()
 {
     Controller = new FloatingDockWindowController(this);
 }