System.Windows.Forms
1.0.5000.0
2.0.0.0
System.ComponentModel.Component
System.ICloneable
System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.ColumnHeaderConverter))
System.ComponentModel.ToolboxItem(false)
System.ComponentModel.DesignTimeVisible(false)
System.ComponentModel.DefaultProperty("Text")
A column header is an item in a control that contains heading text. objects can be added to a using the method of the class. To add a group of columns to a , you can use the method of the class. You can use the property of the class to determine where the is located in the .
provides the and properties to set the text displayed in the control and the alignment of the text in the column header. To determine whether a is associated with a control, you can reference the property. If you want to copy a for use in another control, you can use the method.
Displays a single column header in a control.
Constructor
To be added.
Initializes a new instance of the class.
1.0.5000.0
2.0.0.0
Constructor
2.0.0.0
To be added.
Initializes a new instance of the class with the image specified.
The index of the image to display in the .
Constructor
2.0.0.0
To be added.
Initializes a new instance of the class with the image specified.
The key of the image to display in the .
Method
2.0.0.0
System.Void
Calling the method is only effective once the and containing have been constructed, and the column is populated with items. If new items are added to the , the column will not resize unless is called again.
Resizes the width of the column as indicated by the resize style.
One of the values.
Method
System.Object
You can use this method to copy existing objects from an existing control for use in other controls.
Creates an identical copy of the current that is not attached to any list view control.
An object representing a copy of this object.
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.Repaint)
System.ComponentModel.Localizable(true)
System.Int32
To be added.
To be added.
Gets or sets the display order of the column relative to the currently displayed columns.
Method
System.Void
To be added.
Call when you are finished using the . The method leaves the in an unusable state. After calling , you must release all references to the so the memory it was occupying can be reclaimed by garbage collection.
Always call before you release your last reference to the . Otherwise, the resources the is using will not be freed until garbage collection calls the object's destructor.
Disposes of the resources (other than memory) used by the .
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.ImageIndexConverter))
System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.Repaint)
System.ComponentModel.Editor("System.Windows.Forms.Design.ImageIndexEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
System.ComponentModel.DefaultValue(-1)
System.Int32
To be added.
The property refers to the index of an image specified by the property of the that contains the . The property returns -1 if there is no set on the containing . The image displayed in a column is typically used to indicate the state of items in the column.
and are mutually exclusive, meaning if one is set, the other is set to an invalid value and ignored.
The image associated with a is typically used to indicate the state information. If you set the to a value greater than the index of the last item in the associated image list, will be set to the index of the last item in the image list.
Gets or sets the index of the image displayed in the .
Property
2.0.0.0
System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.ImageKeyConverter))
System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.Repaint)
System.ComponentModel.Editor("System.Windows.Forms.Design.ImageIndexEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
System.ComponentModel.DefaultValue("")
System.String
To be added.
The and properties are mutually exclusive, meaning if one is set, the other is set to an invalid value and ignored.
If is set to an invalid value, an image will not be displayed, and an exception will not be thrown.
The image associated with a is typically used to indicate the state information.
Gets or sets the key of the image displayed in the column.
Property
2.0.0.0
System.ComponentModel.Browsable(false)
System.Windows.Forms.ImageList
To be added.
The returns the value of the property for the that contains the .
Gets the image list associated with the .
Property
System.ComponentModel.Browsable(false)
System.Int32
To be added.
The value of this property does not necessarily correspond to the current visual position of the column header within the . This can be due to the user reordering the column headers at run time (when the property is set to true). If the is not contained within a control this property returns a value of -1.
Gets the location with the control's of this column.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Browsable(false)
System.Windows.Forms.ListView
To be added.
You can use this property to determine which control a specific object is associated with.
Gets the control the is located in.
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.ComponentModel.Browsable(false)
System.String
To be added.
To be added.
Gets or sets the name of the .
Property
2.0.0.0
System.ComponentModel.TypeConverter(typeof(System.ComponentModel.StringConverter))
System.ComponentModel.Localizable(false)
System.ComponentModel.Bindable(true)
System.ComponentModel.DefaultValue(null)
System.Object
To be added.
To be added.
Gets or sets an object that contains data to associate with the .
Property
System.ComponentModel.Localizable(true)
System.String
To be added.
To be added.
Gets or sets the text displayed in the column header.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Localizable(true)
System.ComponentModel.DefaultValue(System.Windows.Forms.HorizontalAlignment.Left)
System.Windows.Forms.HorizontalAlignment
To be added.
You can use this property to provide different text alignment settings for the text displayed in each .
Due to a limitation in the underlying control, this property has no effect on the first column in the control, which is always aligned to the left. To work around this limitation in dnprdnext, you can handle the event and paint the column header yourself.
Gets or sets the horizontal alignment of the text displayed in the .
1.0.5000.0
2.0.0.0
Method
System.String
To be added.
To be added.
Returns a string representation of this column header.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Localizable(true)
System.ComponentModel.DefaultValue(60)
System.Int32
To be added.
This property enables you to set the of the . The can be set to adjust at run time to the column contents or heading. To adjust the width of the longest item in the column, set the property to -1. To autosize to the width of the column heading, set the property to -2.
Unexpected behavior can result when the combined width of all columns exceeds 32,768 pixels.
Gets or sets the width of the column.
1.0.5000.0
2.0.0.0