XAML C#轴控制布局循环异常
我不知道如何修复LayoutCycleeException 没有任何迹象表明出了什么问题 我有一个有五个选项卡的pivot控件,每个选项卡有10个项目。 最初的tabbing-thru可以工作,但当返回时,它会在没有任何其他信息的情况下出现此异常 怎么办 编辑: 下面的清单是usercontrol的内容。所有源都是可观察的集合属性。为避免空值,所有集合都在创建控件时初始化:XAML C#轴控制布局循环异常,c#,visual-studio,xaml,C#,Visual Studio,Xaml,我不知道如何修复LayoutCycleeException 没有任何迹象表明出了什么问题 我有一个有五个选项卡的pivot控件,每个选项卡有10个项目。 最初的tabbing-thru可以工作,但当返回时,它会在没有任何其他信息的情况下出现此异常 怎么办 编辑: 下面的清单是usercontrol的内容。所有源都是可观察的集合属性。为避免空值,所有集合都在创建控件时初始化: <Grid> <Pivot> <PivotItem x:Ui
<Grid>
<Pivot>
<PivotItem x:Uid="Pivot-New">
<GridView
ItemsSource="{Binding NewChassis, Mode=OneWay}"
SelectionMode="Single"
IsItemClickEnabled="True"
/>
</PivotItem>
<PivotItem x:Uid="Pivot-Errors">
<GridView
ItemsSource="{Binding ErrorEvents, Mode=OneWay}"
SelectionMode="Single"
IsItemClickEnabled="True"
/>
</PivotItem>
<PivotItem x:Uid="Pivot-Warnings">
<GridView
ItemsSource="{Binding WarningEvents, Mode=OneWay}"
SelectionMode="Single"
IsItemClickEnabled="True"
/>
</PivotItem>
<PivotItem x:Uid="Pivot-Unassigned">
<GridView
ItemsSource="{Binding UnassignedEvents, Mode=OneWay}"
SelectionMode="Single"
IsItemClickEnabled="True"
/>
</PivotItem>
<PivotItem x:Uid="Pivot-Starts">
<GridView
ItemsSource="{Binding StartEvents, Mode=OneWay}"
SelectionMode="Single"
IsItemClickEnabled="True"
/>
</PivotItem>
<PivotItem x:Uid="Pivot-Ends">
<GridView
ItemsSource="{Binding EndEvents, Mode=OneWay}"
SelectionMode="Single"
IsItemClickEnabled="True"
/>
</PivotItem>
</Pivot>
</Grid>
显示您的代码请在此处输入XAML代码,以及完整的例外情况