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
Public methodContains(SHCOLUMNID)
Determines whether the passed column is contained in the collection.
Public methodContains(ShellViewColumn)
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)
Public methodInsert(Int32, SHCOLUMNID)
Inserts a new column representing the passed SHCOLUMNID at the passed index.
Public methodInsert(Int32, ShellViewColumn)
Public methodRemove(SHCOLUMNID)
Removes the specified column.
Public methodCode exampleRemove(ShellViewColumn)
Public methodRemoveAt
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