This documentation is archived and is not being maintained.

ColumnHeader Members

Displays a single column header in a ListView control.

The following tables list the members exposed by the ColumnHeader type.

  Name Description
Public method Supported by the .NET Compact Framework ColumnHeader Overloaded. Initializes a new instance of the ColumnHeader class.
Top

(see also Protected Properties )
  Name Description
Public property Container  Gets the IContainer that contains the Component.(Inherited from Component.)
Public property DisplayIndex Gets the display order of the column relative to the currently displayed columns.
Public property ImageIndex Gets or sets the index of the image displayed in the ColumnHeader.
Public property ImageKey Gets or sets the key of the image displayed in the column.
Public property ImageList Gets the image list associated with the ColumnHeader.
Public property Index Gets the location with the ListView control's ListView.ColumnHeaderCollection of this column.
Public property ListView Gets the ListView control the ColumnHeader is located in.
Public property Name Gets or sets the name of the ColumnHeader.
Public property Supported by the .NET Compact Framework Site  Gets or sets the ISite of the Component.(Inherited from Component.)
Public property Tag Gets or sets an object that contains data to associate with the ColumnHeader.
Public property Supported by the .NET Compact Framework Text Gets or sets the text displayed in the column header.
Public property Supported by the .NET Compact Framework TextAlign Gets or sets the horizontal alignment of the text displayed in the ColumnHeader.
Public property Supported by the .NET Compact Framework Width Gets or sets the width of the column.
Top

  Name Description
Protected property CanRaiseEvents  Gets a value indicating whether the component can raise an event.(Inherited from Component.)
Protected property DesignMode  Gets a value that indicates whether the Component is currently in design mode.(Inherited from Component.)
Protected property Supported by the .NET Compact Framework Events  Gets the list of event handlers that are attached to this Component.(Inherited from Component.)
Top

(see also Protected Methods )
  Name Description
Public method AutoResize Resizes the width of the column as indicated by the resize style.
Public method Clone Creates an identical copy of the current ColumnHeader that is not attached to any list view control.
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework Dispose Overloaded. Releases the resources used by the ColumnHeader.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString Overridden. Returns a string representation of this column header.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Dispose Overloaded. Overridden. Releases the resources used by the ColumnHeader.
Protected method Supported by the .NET Compact Framework Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Top

  Name Description
Public event Supported by the .NET Compact Framework Disposed  Adds an event handler to listen to the Disposed event on the component.(Inherited from Component.)
Top
Show: