2
Vote

Error: Element already has a logical parent. It must be detached from the old parent before it is attached to a new one.

description

I haven't played around with this control very long, but I get this error message:
Element already has a logical parent. It must be detached from the old parent before it is attached to a new one.
 
<Window x:Class="WpfApplication1.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1"
    Height="300"
    Width="535"
    xmlns:bc="clr-namespace:BreadcrumbLib;assembly=BreadcrumbLib">
<Grid>
    <bc:Breadcrumb>
        <bc:BreadcrumbItem Header="TopLevel" />
    </bc:Breadcrumb>
</Grid>
</Window>

comments