这是我非常简单的手风琴XAML: -
<toolkit:Accordion Grid.Column="1" HorizontalAlignment="Stretch" Margin="0" VerticalAlignment="Stretch" SelectionMode="OneOrMore" MinHeight="500">
<toolkit:AccordionItem Header="Welcome" Margin="10,0" IsSelected="True" />
<toolkit:AccordionItem Header="Family news" Margin="10,0" />
<toolkit:AccordionItem Header="Random photos" Margin="10,0" />
<toolkit:AccordionItem Header="News articles" Margin="10,0" />
</toolkit:Accordion>
如果我非常快地点击手风琴项目几次,我会得到这个例外: -
AccessViolationException
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
有谁可以告诉我这有什么问题?
提前致谢:)
答案 0 :(得分:1)
安装最新的工具包..
http://silverlight.codeplex.com/releases/view/43528#DownloadId=117046
然后创建新项目。添加手风琴控件...尝试重新编写错误..
PS:我不认为这是手风琴故障......手风琴的工作很好......