Class representing a collection of
ShellViewColumns. It serves to control the visible columns in supported controls.
Not supported on Windows XP.
Inheritance Hierarchy Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntaxpublic class ShellViewColumns : IList<ShellViewColumn>,
ICollection<ShellViewColumn>, IEnumerable<ShellViewColumn>, IEnumerable,
INotifyCollectionChanged
Public Class ShellViewColumns
Implements IList(Of ShellViewColumn), ICollection(Of ShellViewColumn),
IEnumerable(Of ShellViewColumn), IEnumerable, INotifyCollectionChanged
public ref class ShellViewColumns : IList<ShellViewColumn^>,
ICollection<ShellViewColumn^>, IEnumerable<ShellViewColumn^>, IEnumerable,
INotifyCollectionChanged
type ShellViewColumns =
class
interface IList<ShellViewColumn>
interface ICollection<ShellViewColumn>
interface IEnumerable<ShellViewColumn>
interface IEnumerable
interface INotifyCollectionChanged
endThe ShellViewColumns type exposes the following members.
Properties
Methods
Events
Example
The following examples control the columns displayed in the ExplorerBrowser.
explorerBrowser1.Columns.Clear();
explorerBrowser1.Columns.Add(SHCOLUMNID.ShellColumnName);
explorerBrowser1.Columns.Add(SHCOLUMNID.ShellColumnSize);
explorerBrowser1.Columns.Add(SHCOLUMNID.ShellColumnParentFolder);
explorerBrowser1.Columns.SetColumns(new List<SHCOLUMNID>()
{
SHCOLUMNID.ShellColumnName,
SHCOLUMNID.ShellColumnSize,
SHCOLUMNID.ShellColumnElementType
});if (IsMyMusic())
{
explorerBrowser1.Columns.Show(SHCOLUMNID.ShellColumnMusicTitlenumber);
explorerBrowser1.Columns.Show(SHCOLUMNID.ShellColumnSummaryTitle);
explorerBrowser1.Columns.Show(SHCOLUMNID.ShellColumnMusicArtist);
explorerBrowser1.Columns.Show(SHCOLUMNID.ShellColumnMusicAlbum);
explorerBrowser1.Columns.Show(SHCOLUMNID.ShellColumnMusicYear);
explorerBrowser1.Columns[explorerBrowser1.Columns.Count - 1].Caption = "Custom title";
}explorerBrowser1.Columns.Remove(SHCOLUMNID.ShellColumnSize);
See Also