Silverlight toolkit Accordion Error?

This is my very simple 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>

If I click on an accordion element several times very quickly, I get this exception: -

AccessViolationException
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Can anyone tell me what's wrong with that?

Thanks in advance:)

+3
source share
1 answer

Install the latest toolkit ..

http://silverlight.codeplex.com/releases/view/43528#DownloadId=117046

Then create a new project. Add Accordion control to it ... try to make a mistake.

PS: I don’t think this is an accordion mistake ... The accordion works just fine ...

+1
source

Source: https://habr.com/ru/post/1796466/


All Articles