I working on “layoutToolkit:Accordion” and wanna change AccordionItem’s template (like a custom button with many visual graphic effects).But after that, AccordionItem lost Pre-template and became button.How can I Change Template AccordionItem’s?
<layoutToolkit:AccordionItem Header="like" >
<layoutToolkit:AccordionItem.Template>
<ControlTemplate>
<Button Style="{StaticResource ButtonStyle}" />
</ControlTemplate>
</layoutToolkit:AccordionItem.Template>
<Grid >
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Button Content="1" Width="65" Grid.Row="0"/>
<Button Content="2" Width="65" Grid.Row="1"/>
<Button Content="3" Width="65" Grid.Row="2"/>
</Grid>
</layoutToolkit:AccordionItem>
if U have any article about “layoutToolkit:Accordion” and how to use that, Send Link for me! 🙂
In the answers that follow, i will post the default template. You will have to paste it together yourself tho, its too big to fit…
NOTE: the blue color is explicitly defined, just do a search for Blue and bind it properly.
Note 2: Its too long to fit in one answer, will post on 3
Namespaces: