Click or drag to resize

ShellViewColumns Methods

The ShellViewColumns type exposes the following members.

Methods
 NameDescription
Public methodCode exampleAdd(SHCOLUMNID) Adds the specified column at the last position.
Public methodAdd(ShellViewColumn) Adds a column to the collection.
Public methodAutoSize Resizes all columns to the auto-size width.
Public methodCode exampleClear Removes all items from the ICollectionT.
Public methodContains(SHCOLUMNID) Determines whether the passed column is contained in the collection.
Public methodContains(ShellViewColumn) Determines whether the ICollectionT contains a specific value.
Public methodCopyTo Copies the entire list to the array passed, starting at the passed index of the target array.
Public methodDefaultSize Resizes all columns to the default-size width.
Protected methodGetColumnName Gets the caption of the column with the passed column key.
Protected methodGetColumnWidth Returns the width of the column identified by the passed id.
Public methodGetEnumerator Returns an enumerator that iterates through the collection.
Public methodGetSHColumnIds Returns the columns the keys of the columns in collection.
Public methodHide Removes the given column from the current view.
Public methodIndexOf(SHCOLUMNID) Returns the index of the column with the passed SHCOLUMNID.
Public methodIndexOf(ShellViewColumn) Determines the index of a specific item in the IListT.
Public methodInsert(Int32, SHCOLUMNID) Inserts a new column representing the passed SHCOLUMNID at the passed index.
Public methodInsert(Int32, ShellViewColumn) Inserts an item to the IListT at the specified index.
Public methodRemove(SHCOLUMNID) Removes the specified column.
Public methodCode exampleRemove(ShellViewColumn) Removes the first occurrence of a specific object from the ICollectionT.
Public methodRemoveAt Removes the IListT item at the specified index.
Protected methodSetColumnName Changes the name of the column identified by the passed id.
Public methodCode exampleSetColumns Replaces the currently shown columns by the columns passed.
Protected methodSetColumnWidth Sets the width of the column identified by the passed id.
Public methodCode exampleShow Adds the column at its default position.
Top
See Also