FlexGrid for WPF | ComponentOne
FlexGrid Samples / iTunes Sample
In This Topic
    iTunes Sample
    In This Topic

    The iTunes sample application displays a library of about 10,000 songs grouped by artist and album. Albums and artists are represented by collapsible node rows. The application includes a search box that allows users to find songs, albums, or artists quickly and easily. Whenever a filter is applied, a status indicator lists the number of artists, albums, and songs selected, as well as the total size and duration for the selection.

    Each item on the grid represents an artist, album, or song and includes a title, duration, size, and rating. The rating data (an integer between zero and five) is displayed graphically, using a series of zero to five stars. Group rows use the traditional plus and minus icons for collapsing and expanding buttons (instead of the standard triangular icons). The duration and size displayed for artists and albums are calculated dynamically, by adding all the songs in the corresponding group (album or artist). The rating for artists and albums is calculated as the average rating for the songs in the corresponding group (album or artist).

    There are buttons above the grid that allow users to collapse all group rows on the grid to display only the artists, albums, or to expand the entire grid.

    This is what the iTunes application looks like:

    See Also