We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

AccordionButtonStyle Customization - UWP

Thread ID:

Created:

Updated:

Platform:

Replies:

142974 Feb 27,2019 11:21 AM UTC Mar 11,2019 06:52 AM UTC UWP 5
loading
Tags: SfAccordion
Rohith Kunchamwar
Asked On February 27, 2019 11:21 AM UTC

Hi Team,

We have already created a incident regarding this requirement. But, still the created incident is in hold state. Please let us know, if we need to do anything from our side.

Link: https://www.syncfusion.com/support/directtrac/incidents/229071 
Requirement:

a). 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.

b). 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).

Issue:

Can`t hide the visibility of VerticalScrollbar when we render list of items inside Accordian

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.

For your reference, we have attached both screenshot and sample. Please revert back us with the modified sample which will be helpful for us.

Thanks,
Saravana Pandian M.

Attachment: Sample__Screenshot_821075fc.zip

Subashini Mahendran [Syncfusion]
Replied On February 27, 2019 05:47 PM UTC

Hi Rohith, 
 
Thank you for contacting Syncfusion support. 
 
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.  
  
 
 
  
Regards, 
Subashini M. 
 


Rohith Kunchamwar
Replied On March 1, 2019 06:40 AM UTC

Hi Subashini,

Thanks for the quick update. It works fine now.

Thanks,
Saravana Pandian M.

Jagadeesan Pichaimuthu [Syncfusion]
Replied On March 1, 2019 06:44 AM UTC

Hi  Saravana Pandian, 
 
Thanks for the update. 
 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you. 
 
Regards, 
Jagadeesan 


Rohith Kunchamwar
Replied On March 8, 2019 07:31 AM UTC

Hi Jagadeesan,

Thanks for the sample. AccordionButtonStyle works fine now. You can close this thread.

Thanks,
Saravana Pandian M.

Jagadeesan Pichaimuthu [Syncfusion]
Replied On March 11, 2019 06:52 AM UTC

Hi Saravana Pandian, 

Thanks for the update. 

We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you. 

Regards, 
Jagadeesan 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon