DynamicSizeMode |
Description |
Content |
Indicates that the SfAccordion.Content gets re-measured and layout when its size is updated at runtime. |
Header |
Indicates that the SfAccordion.Header gets re-measured and layout when its size is updated at runtime. |
None |
Indicates that the dynamic changes of SfAccordion.Header and SfAccordion.Content will not be considered.
Default value is None. |
<syncfusion:SfAccordion Grid.Row="1" ExpandMode="SingleOrNone" DynamicSizeMode="Content">
... |
Hi,Thank you for using Syncfusion products.We have checked the reported queries from our end.#Regarding If I put a visible item it does not expand and if it is invisible it is not croppedWe would like to inform you that you can use DynamicSizeMode property for Accordion to resize the content/header.Please refer the DynamicSizeMode property from the following link,API reference link: https://help.syncfusion.com/cr/xamarin/Syncfusion.XForms.Accordion.DynamicSizeMode.html
DynamicSizeMode Description Content Indicates that the SfAccordion.Content gets re-measured and layout when its size is updated at runtime. Header Indicates that the SfAccordion.Header gets re-measured and layout when its size is updated at runtime. None Indicates that the dynamic changes of SfAccordion.Header and SfAccordion.Content will not be considered.Default value is None.Please refer the following code snippet for your reference,
<syncfusion:SfAccordion Grid.Row="1" ExpandMode="SingleOrNone" DynamicSizeMode="Content">...Please let us know if this resolves the reported issue.#Regarding if the accordion is loaded as invisible, changing it to visible does not workWe have checked the reported query at our side. We would like to inform you that you can handle the visibility of the AccordionItem by modifying the AccordionItems collection. We have already documented the same and you can find them from the following link,KB link: https://www.syncfusion.com/kb/11383/how-to-show-or-hide-accordionitem-in-xamarin-forms-sfaccordionPlease let us know if you need further assistance.Regards,Lakshmi Natarajan