Query 1:
Expand/Collapse button customization - We are using Accordion control as per our requirement. But, we expect expand/collapse icon should be in black color always either we collapse or expand and during rendering also. |
We have prepared a sample based on your requirement in which we have set the accordion button color as back by customizing AccordionButtonStyle of accordion item. Please find the below screenshot and sample for the same from below location:
|
Query 2:
Expand/Collapse icon should not display if there is no content/children exist under an AccordianItem. (Run the sample and see Header 4, Header 8 and Header 9 accordion items). |
We have prepared a sample based on your requirement in which we have handled the visibility of expander button icon based on content exist in accordion item. Please find the below screenshot and sample for the same from below location:
|
Query 3:
We have done some workaround to fix this issue in sample level (MainPage.xaml.cs file). But, we expect you to overcome this issue in your source level. |
In SfAccordion, we have set the VerticalScrollBarVisibility as auto in ScrollViewer of Accordion since to display scroll bar when it contain more item than specified area(accordion), So, we suggest you to use the workaround for handling the scroll bar visibility in accordion.
|