Click or drag to resize

IJamShellColumnCollectionShow Method

Shows the shell column identified by the passed SHCOLUMNID at its default shell position.

Namespace:  Jam.Shell
Assembly:  ShellBrowser (in ShellBrowser.dll) Version: 7.1
Syntax
JamShellColumnHeader Show(
	SHCOLUMNID pShellColumnId
)

Parameters

pShellColumnId
Type: Jam.ShellSHCOLUMNID
A SHCOLUMNID identifying the shell column to be shown.

Return Value

Type: JamShellColumnHeader
The JamShellColumnHeader that was added.
Examples
This example re-initializes the columns displayed for MyMusic in the CreatedColumns event.
C#
private void ShellListView1_CreatedColumns(object sender, EventArgs e)
{
    if (shellListView1.SpecialFolder == ShellFolder.MyMusic)
    {
        shellListView1.BeginUpdate();
        shellListView1.Columns.Clear(); //name column it will be reinserted again automatically.
        shellListView1.Columns.Show(SHCOLUMNID.ShellColumnSummaryTitle);
        //displays the column at the default position.
        shellListView1.Columns.Show(SHCOLUMNID.ShellColumnMusicAlbum);
        shellListView1.Columns.Show(SHCOLUMNID.ShellColumnMusicArtist);
        shellListView1.Columns.Add(SHCOLUMNID.ShellColumnMusicGenre); //adds the column at the end.

        shellListView1.EndUpdate();
    }
}
See Also