Exemplo n.º 1
0
 private void ShowLeftContent(PathItem pathItem)
 {
     if (_StackLeft != null)
     {
         int index = _PathItemCollection.IndexOf(pathItem);
         _LinkList.SelectedIndex = index;
         _StackLeft.ChangeContent(pathItem.PathControl, PathContentTranstitionType.LEFT_IN);
     }
 }
Exemplo n.º 2
0
        private void ShowLeftContent(PathItem pathItem)
        {
            if (_StackLeft != null)
            {
                int index = _PathItemCollection.IndexOf(pathItem);
                _LinkList.SelectedIndex = index;
                _StackLeft.ChangeContent(pathItem.PathControl, PathContentTranstitionType.LEFT_IN);
                _Grid.InvalidateVisual();

                _Grid.ColumnDefinitions[0].Width = new GridLength(pathItem.Width);
            }
        }