这是我非常简单的Accordion 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.
谁能告诉我这是怎么了?
提前致谢 :)
最佳答案
安装最新的工具包。
http://silverlight.codeplex.com/releases/view/43528#DownloadId=117046
然后创建新项目。在其上添加手风琴控件...尝试重新输入错误。
PS:我不认为这是手风琴的毛病...手风琴的工作还不错...
关于silverlight - Silverlight工具包 Accordion 错误?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/5202844/