private void ShowLeftContent(PathItem pathItem) { if (_StackLeft != null) { int index = _PathItemCollection.IndexOf(pathItem); _LinkList.SelectedIndex = index; _StackLeft.ChangeContent(pathItem.PathControl, PathContentTranstitionType.LEFT_IN); } }
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); } }