Using the Silverlight Accordion Control
page 2 of 6
by Brian Mains
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 34612/ 45

Overview of Accordion

The accordion control is a flexible container that consists of a series of collapsible panels, made up of the AccordionItem control.  The underlying source of the control is ItemsControl, meaning that the control can contain multiple objects to make up the user interface, by supplying values to the Items collection.  In addition, the ItemsControl can be bound to using the ItemsSource property, which uses the underlying object to dynamically create the Accordion item object, supplying the underlying object to the header and content.

A lot of the plumbing comes from the ItemsControl base class; however, each derived class that inherits ItemsControl implements it in a different way.  For instance, the HeaderedItemsControl class uses the items bound to it to create a repeatable list of content.  The Accordion, however, uses each object bound to it to create an AccordionItem class that has its own header/content.


View Entire Article

User Comments

Title: reply   
Name: dana
Date: 2012-03-14 12:53:32 PM
Comment:
How do I reference the description textblock from code
Title: Accordion imports?   
Name: davraf
Date: 2010-09-06 11:43:07 AM
Comment:
Hi,
what's the xmlns to use?
Title: reply   
Name: samantha
Date: 2009-07-01 2:57:24 AM
Comment:
giv some more code and give a full example how to bind data source to accordion
Title: Re   
Name: Jack
Date: 2009-06-11 9:14:41 PM
Comment:
Accordion is a fashion style since Outlook first bring it to us, a fashion control
Title: Needs some screen shots   
Name: graphics
Date: 2009-06-11 8:00:30 PM
Comment:
It is nice to see what the code produces, show a screen shot .....






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-19 12:37:02 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search