Example #1
0
        //private void ShowRightContent()
        //{
        //    if (_StackRight!= null && _StackRightData != null)
        //    {
        //        _StackRight.ChangeContent(_StackRightData.PathControl, PathContentTranstitionType.RIGHT_IN);
        //        _Grid.ColumnDefinitions[0].BringIntoView();
        //    }
        //}

        private void ShowLeftContent()
        {
            if (_StackLeft != null && _PathItemCollection.Count > 0)
            {
                _LinkList.SelectedIndex = _PathItemCollection.Count - 1;
                _StackLeft.ChangeContent(_PathItemCollection.Last <PathItem>().PathControl, PathContentTranstitionType.LEFT_IN);
            }
        }
Example #2
0
        private void ShowLeftContent()
        {
            if (_StackLeft != null && _PathItemCollection.Count > 0)
            {
                _LinkList.SelectedIndex = _PathItemCollection.Count - 1;
                _StackLeft.ChangeContent(_PathItemCollection.Last <PathItem>().PathControl, PathContentTranstitionType.LEFT_IN);
                _Grid.InvalidateVisual();

                _Grid.ColumnDefinitions[0].Width = new GridLength(_PathItemCollection.Last <PathItem>().Width);
            }
        }