Example #1
0
        public void Collapse(SplitterViews activeView)
        {
            OnExpandCollapse();

            _requstedActiveView = activeView;
            Loaded += OnContainerLoaded;
        }
Example #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();
            }
        }
        public void Collapse(SplitterViews activeView)
        {
            OnExpandCollapse();

            _activeViewType = activeView;
            Loaded         += OnContainerLoaded;
        }
        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();
            }
        }
Example #5
0
        public void Collapse(SplitterViews activeView)
        {
            OnExpandCollapse();

            _requstedActiveView = activeView;
            Loaded += OnContainerLoaded;
        }
Example #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();
            }
        }