Hiding the Breadcrumb
We continue to get requests from customers we didnt anticipate. And we continue to solve those problems – some way or the other. This one is that “some way”. I dont love it. But hey, if it helps the customer, it works.
The customer wanted a way to hide the breadcrumb. Since we didnt have a specific API to do so, we just asked him to do the following:
FrameworkElement e = this.wd.View as FrameworkElement;
e.Margin = new Thickness(0, -40, 0, -40);
grid1.Children.Add(this.wd.View);
We just moved the Designer View up such that it hides the breadcrumb panel at the top.
Hope this helps!
Thanks,
Kushal.
Comments
- Anonymous
March 29, 2010
Or you can do: ((Grid)LogicalTreeHelper.FindLogicalNode(designer, "BreadCrumbBarLayout")).Visibility = Visibility.Collapsed