Articles in this section
Category / Section

How to hide border of items in SfAccordion?

1 min read

User can hide the border of SfAccordionItems. It can be achieved by setting the BorderThickness property value in ItemContainerStyle of the SfAccordion. The following code demonstrates the same.


Code Example: [Xaml]


<layout:SfAccordion x:Name="accordion" Grid.Row="1" Width="300" Height="250" >
<Style TargetType="layout:SfAccordionItem">
<!-- Set Border Thickness -->
<Setter Property="BorderThickness" Value="0"/>
<layout:SfAccordionItem Header="WPF"/>
<layout:SfAccordionItem Header="Silverlight"/>
<layout:SfAccordionItem Header="WinRT"/>
<layout:SfAccordionItem Header="Windows Phone"/>
<layout:SfAccordionItem Header="Universal"/>




Screenshot in SfAccordionItems


Sample:  SfAccordionBorderSample



Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied