Hi,
We'd like to customize the header icon with + & - icons instead of Arrow.
Please let me know how to do that.
Thanks,
Hi Sidhartha,
We are validating your query and will update you with the details on or before July 20, 2022.
Regards,
Kayalvizhi S
Hi Sidhartha,
We prepared the simple sample based on your requirement "customize the the header icon with + & - icons instead of Arrow". Kindly get it from the attachment.
Regards,
Kayalvizhi
Thank You very much. It helped me a lot. Now I can customize it as I needed.
One more request,
I also want to hide those icons when no expandable content is not there.
Please let me know how to do that.
Thanks,
Hi Sidhartha,
Based on your requirements, we have prepared a sample in which we have handled the visibility of the icon based on the content that is present in the accordion item. Please get it from the attachment.
Regards,
Kayalvizhi S
Hi,
Thanks for your response.
But the sample that you provided for hiding the icons is not getting helpful for my scenario.
Here are the list of requirements [Help needed]:
Attachment: Syncfusion.SfAccordion.UWP.Sample_79e64b91.zip
Hi Rama Krishna Sidhartha,
Query #1: Foreground color is not getting applied for the Header
As MS CheckBox doesn't update the Foreground color, we suggest you to use TextBlock with checkbox and set its Foreground.
Code:
<CheckBox IsThreeState="True"> <TextBlock Text="{Binding GroupName, UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}" Foreground="Red"/> </CheckBox> |
Query #2 : When no expandable content is there, then I want to hide the expandable icons
We modified your sample based on your requirement. You can find the demo and screen shots below.
Screenshot:
Query #3: Need support for TriStateChecking with Recursive checking for the Checkbox controls similar to SfTreeGrid.
We suggest you to use IsThreeState Property as true in UWP Checkbox and define the logic in code behind.
Regards,
Kayalvizhi S