Click or drag to resize

JamShellColumnCollection Class

The ColumnCollection class used internally in JamBaseShellListViews and subtypes. The instance can be accessed via its interface IJamShellColumnCollection
Inheritance Hierarchy
SystemObject
  System.Windows.FormsListViewColumnHeaderCollection
    Jam.ShellJamShellColumnCollection

Namespace: Jam.Shell
Assembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntax
public class JamShellColumnCollection : ListViewColumnHeaderCollection, 
	IJamShellColumnCollection, ICollection, IEnumerable

The JamShellColumnCollection type exposes the following members.

Constructors
 NameDescription
Public methodJamShellColumnCollection Initializes a new instance of the JamShellColumnCollection class.
Top
Properties
 NameDescription
Public propertyCountGets the number of items in the collection.
(Inherited from ListViewColumnHeaderCollection)
Public propertyIsReadOnlyGets a value indicating whether the collection is read-only.
(Inherited from ListViewColumnHeaderCollection)
Public propertyItemInt32 Gets the JamColumnHeader at the specified index within the collection.
Public propertyItemSHCOLUMNID Gets the JamShellColumnHeader with the specified SHCOLUMNID.
Public propertyItemString Gets the column header with the specified key from the collection.
Top
Methods
 NameDescription
Public methodAdd(ColumnHeader) Adds an existing System.Windows.Forms.ColumnHeader to the collection.
(Overrides ListViewColumnHeaderCollectionAdd(ColumnHeader))
Public methodAdd(JamShellColumnHeader) Adds an existing JamShellColumnHeader to the collection.
Public methodAdd(SHCOLUMNID) Adds the shell column identified by the passed SHCOLUMNID.
Public methodAdd(String)Creates and adds a column with the specified text to the collection.
(Inherited from ListViewColumnHeaderCollection)
Public methodAdd(String, Int32)Creates and adds a column with the specified text and width to the collection.
(Inherited from ListViewColumnHeaderCollection)
Public methodAdd(String, String)Creates and adds a column with the specified text and key to the collection.
(Inherited from ListViewColumnHeaderCollection)
Public methodAdd(String, Int32, HorizontalAlignment)Adds a column header to the collection with specified text, width, and alignment settings.
(Inherited from ListViewColumnHeaderCollection)
Public methodAdd(String, String, Int32)Creates and adds a column with the specified text, key, and width to the collection.
(Inherited from ListViewColumnHeaderCollection)
Public methodAdd(String, String, Int32, HorizontalAlignment, Int32)Creates and adds a column with the specified key, aligned text, width, and image index to the collection.
(Inherited from ListViewColumnHeaderCollection)
Public methodAdd(String, String, Int32, HorizontalAlignment, String)Creates and adds a column with the specified key, aligned text, width, and image key to the collection.
(Inherited from ListViewColumnHeaderCollection)
Public methodAddHeader(Int32) Adds the header for the passed shell index. Doesn't load contents.
Public methodAddHeader(SHCOLUMNID) Adds the header for the passed SHCOLUMNID.
Public methodAddHeader(Int32, SHCOLUMNID) Adds the header at the specified position.
Public methodAddHeader(Int32, Int32) Adds the header at the specified position. Doesn't load contents.
Public methodAddRangeAdds an array of column headers to the collection.
(Inherited from ListViewColumnHeaderCollection)
Public methodClear Removes all column headers from the collection.
(Overrides ListViewColumnHeaderCollectionClear)
Public methodContainsDetermines whether the specified column header is located in the collection.
(Inherited from ListViewColumnHeaderCollection)
Public methodContainsKeyDetermines if a column with the specified key is contained in the collection.
(Inherited from ListViewColumnHeaderCollection)
Public methodGetColumnBySHColumnID Gets the column specified by the passed SHCOLUMNID.
Public methodGetColumnByShellIndex Gets the JamShellColumnHeader identified by the passed shell index.
Public methodGetEnumeratorReturns an enumerator to use to iterate through the column header collection.
(Inherited from ListViewColumnHeaderCollection)
Public methodHasCustomColumns Returns true if the list contains custom columns.
Public methodIndexOfReturns the index, within the collection, of the specified column header.
(Inherited from ListViewColumnHeaderCollection)
Public methodIndexOfKeyDetermines the index for a column with the specified key.
(Inherited from ListViewColumnHeaderCollection)
Public methodInsert(Int32, SHCOLUMNID) Inserts the shell column identified by the passed SHCOLUMNID at the passed position.
Public methodInsert(Int32, String)Creates a new column header with the specified text, and inserts the header into the collection at the specified index.
(Inherited from ListViewColumnHeaderCollection)
Public methodInsert(Int32, ColumnHeader)Inserts an existing column header into the collection at the specified index.
(Inherited from ListViewColumnHeaderCollection)
Public methodInsert(Int32, String, Int32)Creates a new column header with the specified text and initial width, and inserts the header into the collection at the specified index.
(Inherited from ListViewColumnHeaderCollection)
Public methodInsert(Int32, String, String)Creates a new column header with the specified text and key, and inserts the header into the collection at the specified index.
(Inherited from ListViewColumnHeaderCollection)
Public methodInsert(Int32, String, Int32, HorizontalAlignment)Creates a new column header and inserts it into the collection at the specified index.
(Inherited from ListViewColumnHeaderCollection)
Public methodInsert(Int32, String, String, Int32)Creates a new column header with the specified text, key, and width, and inserts the header into the collection at the specified index.
(Inherited from ListViewColumnHeaderCollection)
Public methodInsert(Int32, String, String, Int32, HorizontalAlignment, Int32)Creates a new column header with the specified aligned text, key, width, and image index, and inserts the header into the collection at the specified index.
(Inherited from ListViewColumnHeaderCollection)
Public methodInsert(Int32, String, String, Int32, HorizontalAlignment, String)Creates a new column header with the specified aligned text, key, width, and image key, and inserts the header into the collection at the specified index.
(Inherited from ListViewColumnHeaderCollection)
Public methodIsCustomColumn Determines whether the column specified by the passed index is a custom column, i.e. no ShellColumn, but one that contains user defined data.
Public methodRemove(ColumnHeader)Removes the specified column header from the collection.
(Inherited from ListViewColumnHeaderCollection)
Public methodRemove(JamShellColumnHeader) Removes the specified ColumnHeader from the collection.
Public methodRemove(SHCOLUMNID) Removes the shell column identified by the passed SHCOLUMNID.
Public methodRemoveAt Removes the ColumnHeader located at the specified index.
(Overrides ListViewColumnHeaderCollectionRemoveAt(Int32))
Public methodRemoveByKeyRemoves the column with the specified key from the collection.
(Inherited from ListViewColumnHeaderCollection)
Public methodShow(SHCOLUMNID) Shows the shell column identified by the passed SHCOLUMNID at its default shell position.
Protected methodShow(SHCOLUMNID, Int32) Shows the specified shell column at the position passed.
Top
See Also