public void toogle()
 {
     if (state == AccordionState.closed)
     {
         state = AccordionState.opened;
     }
     else
     {
         state = AccordionState.closed;
     }
     calculate();
     onToogle?.Invoke(this, state);
 }
 private void Accordion_Load(object sender, EventArgs e)
 {
     state = AccordionState.closed;
     calculate();
 }