,我發現了以下錯誤:的Silverlight /表達式:XAML生成錯誤
OBJ \調試\ StoryList.g.cs(40,22):錯誤 CS0102:類型 「Newsreader.StoryList ' 已經包含了 定義 '_contentLoaded'
OBJ \調試\ StoryList.g.cs(46,21):錯誤 CS0111:類型 'Newsreader.StoryList' 已經定義了一個稱爲成員 ' 的InitializeComponent '與相同種參數類型
這裏是XAML:
<Grid x:Name="MyLayoutRoot" Background="Transparent">
<ScrollViewer d:LayoutOverrides="Height" HorizontalAlignment="Left" Width="424">
<StackPanel Height="865">
<local:StoryControl Height="206" HorizontalAlignment="Left">
<Custom:Interaction.Triggers>
<Custom:EventTrigger EventName="MouseLeftButtonDown">
<ic:NavigateToPageAction TargetPage="/StoryPage.xaml"/>
</Custom:EventTrigger>
</Custom:Interaction.Triggers>
</local:StoryControl>
<local:StoryControl Height="206" HorizontalAlignment="Left">
<Custom:Interaction.Triggers>
<Custom:EventTrigger EventName="MouseLeftButtonDown">
<ic:NavigateToPageAction TargetPage="/StoryPage.xaml"/>
</Custom:EventTrigger>
</Custom:Interaction.Triggers>
</local:StoryControl>
<local:StoryControl Height="206" HorizontalAlignment="Left">
<Custom:Interaction.Triggers>
<Custom:EventTrigger EventName="MouseLeftButtonDown">
<ic:NavigateToPageAction TargetPage="/StoryPage.xaml"/>
</Custom:EventTrigger>
</Custom:Interaction.Triggers>
</local:StoryControl>
<local:StoryControl Height="206" HorizontalAlignment="Left"/>
</StackPanel>
</ScrollViewer>
</Grid>
我應該怎麼做是錯在這裏幹什麼?我正在複製/粘貼以創建新的控件。這可能與它有關嗎?