|
S.NO |
Query |
Response | |
|
1 |
I am using a cusomt WPF theme. Is there a way to overwrite a specific property in a named component in a control template. For example I want to change the CornerRadius of the Background (it is a Border) part in the SfAccordionItem template. Is this possible? |
We have checked the reported requirement regarding SfAccordion, that you want to override the corner radius of the SfAccordionItem. Yes, it is possible to achieve your requirement and it can be done by overriding the SfAccordionItem template and change the corner radius of the Background maintained as shown in following code.
Sample for your reference: https://www.syncfusion.com/downloads/support/directtrac/general/ze/SfAccordion_item-295924764.zip
| |
|
2 |
Additionally, is there a way to see the template in the custom theme? When I use blend to xtract the template, it seems to provide me with the default rather than the custom theme template. |
Yes, by editing the template of SfAccordionItem after you customize the theme in SfAccordion, you can able to extract the theme for particular customized theme. For example, we have set the Blend theme for SfAccordion, and we were able to extract the blend template of SfAccordion by editing the template as shown in the following options. The above sample has been prepared using the extracted template with blend theme .
Please check with the above sample and if you still faces any issue, please send us the video or sample to reproduce this particular issue, it would be helpful for us to proceed on it further.
|