Esempio n. 1
0
        public void Collapse(SplitterViews activeView)
        {
            OnExpandCollapse();

            _requstedActiveView = activeView;
            Loaded += OnContainerLoaded;
        }
Esempio n. 2
0
        private void ActivateView(SplitterViews views)
        {
            if (views == SplitterViews.Design)
            {
                if (IsCollapsed)
                {
                    _reverseAfterCollapse = false;
                }

                MoveFocusTo(InternalView1);
                InvalidateActiveView();
            }
            else
            {
                if (IsCollapsed)
                {
                    _reverseAfterCollapse = true;
                }

                MoveFocusTo(InternalView2);
                InvalidateActiveView();
            }

            // in case we're collapsed, we need to invalidate the arrange to make
            // the currently activated view visible.
            if (IsCollapsed)
            {
                InvalidateArrange();
            }
        }
Esempio n. 3
0
        public void Collapse(SplitterViews activeView)
        {
            OnExpandCollapse();

            _activeViewType = activeView;
            Loaded         += OnContainerLoaded;
        }
Esempio n. 4
0
        private void ActivateView(SplitterViews views)
        {
            _activeViewType = views;

            MoveFocusTo(views == SplitterViews.Design ? InternalView1 : InternalView2);
            InvalidateActiveView();

            // in case we're collapsed, we need to invalidate the arrange to make
            // the currently activated view visible.
            if (IsCollapsed)
            {
                InvalidateArrange();
            }
        }
Esempio n. 5
0
        public void Collapse(SplitterViews activeView)
        {
            OnExpandCollapse();

            _requstedActiveView = activeView;
            Loaded += OnContainerLoaded;
        }
Esempio n. 6
0
        private void ActivateView(SplitterViews views)
        {
            if (views == SplitterViews.Design)
            {
                if (IsCollapsed)
                {
                    _reverseAfterCollapse = false;
                }

                MoveFocusTo(InternalView1);
                InvalidateActiveView();
            }
            else
            {
                if (IsCollapsed)
                {
                    _reverseAfterCollapse = true;
                }

                MoveFocusTo(InternalView2);
                InvalidateActiveView();
            }

            // in case we're collapsed, we need to invalidate the arrange to make
            // the currently activated view visible.
            if (IsCollapsed)
            {
                InvalidateArrange();
            }
        }