Accordion

Open item

Accordion.Open(Accordion.DataSource[0]);

Close item

Accordion.Close(Accordion.DataSource[0]);

Toggle item

Accordion.ToggleItem(Accordion.DataSource[0]);

Set items

Accordion.DataSource = new ObservableList<AccordionItem>()
{
   new AccordionItem()
   {
      ToggleObject = Header1,
      ContentObject = Content1,
      Open = true,
   },
   new AccordionItem()
   {
      ToggleObject = Header2,
      ContentObject = Content2,
      Open = false,
   },
   new AccordionItem()
   {
      ToggleObject = Header3,
      ContentObject = Content3,
      Open = false,
   },
};