LogoLogo
HomeNewsSupportVideos
v2.5
v2.5
  • Welcome
  • What's New
  • Releases
  • Concepts
  • Themes
  • Extensions
  • Wisej.Web
    • General
      • Application
        • Application.FormCollection
        • Application.PageCollection
        • HashChangedEventArgs
        • HashChangedEventHandler
        • LicenseErrorEventArgs
        • LicenseErrorEventHandler
        • ResponsiveProfileChangedEventArgs
        • ResponsiveProfileChangedEventHandler
      • Clipboard
      • Component
      • Control
        • Control.ControlCollection
        • ControlEventArgs
        • ControlEventHandler
        • DragEventArgs
        • DragEventHandler
        • HelpEventArgs
        • HelpEventHandler
        • KeyEventArgs
        • KeyEventHandler
        • KeyPressEventArgs
        • KeyPressEventHandler
        • LayoutEventArgs
        • LayoutEventHandler
        • MouseEventArgs
        • MouseEventHandler
        • PaintEventArgs
        • PaintEventHandler
        • PinchEventArgs
        • PinchEventHandler
        • PreviewKeyDownEventArgs
        • PreviewKeyDownEventHandler
        • QueryContinueDragEventArgs
        • QueryContinueDragEventHandler
        • ResponsiveProfileChangedEventArgs
        • ResponsiveProfileChangedEventHandler
        • RotateEventArgs
        • RotateEventHandler
        • SwipeEventArgs
        • SwipeEventHandler
        • TouchEventArgs
        • TouchEventHandler
        • TrackEventArgs
        • TrackEventHandler
        • WidgetEventArgs
        • WidgetEventHandler
      • Cursor
      • Cursors
      • DataObject
      • Padding
      • Screen
    • Buttons
      • Button
        • MenuButtonItemClickedEventArgs
        • MenuButtonItemClickedEventHandler
      • ButtonBase
      • CheckBox
      • RadioButton
      • SplitButton
    • Common Dialogs
      • ColorDialog
      • CommonDialog
      • FileDialog
      • FileDialogLoadPathEventArgs
      • FileDialogLoadPathEventHandler
      • FileDialogRootCollection
      • FileDialogUI
      • FolderBrowserDialog
      • FolderBrowserDialogUI
      • OpenFileDialog
      • SaveFileDialog
    • Containers
      • Accordion
        • AccordionAction
        • AccordionCancelEventArgs
        • AccordionCancelEventHandler
        • AccordionEventArgs
        • AccordionEventHandler
        • AccordionPanel
      • ContainerControl
        • AcceleratorEventArgs
        • AcceleratorEventHandler
      • DataRepeater
        • DataRepeaterAddRemoveItemsCancelEventArgs
        • DataRepeaterAddRemoveItemsCancelEventHandler
        • DataRepeaterAddRemoveItemsEventArgs
        • DataRepeaterAddRemoveItemsEventHandler
        • DataRepeaterDataErrorEventArgs
        • DataRepeaterDataErrorEventHandler
        • DataRepeaterItem
        • DataRepeaterItemCloneEventHandler
        • DataRepeaterItemEventArgs
        • DataRepeaterItemEventHandler
        • DataRepeaterItemValueEventArgs
        • DataRepeaterItemValueEventHandler
        • DataRepeaterLayoutStyles
      • Desktop
        • DesktopTaskBarItem
        • DesktopTaskBarItemClickEventArgs
        • DesktopTaskBarItemClickEventHandler
        • DesktopTaskBarItemCollection
        • DesktopTaskBarItemControl
        • DesktopTaskBarItemDateTime
      • FlexLayoutPanel
        • FlexLayoutStyle
      • FlowLayoutPanel
        • FlowDirection
      • Form
        • CloseReason
        • FormBorderStyle
        • FormClosedEventArgs
        • FormClosedEventHandler
        • FormClosingEventArgs
        • FormClosingEventHandler
        • FormStartPosition
        • FormWindowState
        • MdiClient
        • MdiTabProperties
      • GroupBox
      • Page
      • Panel
      • ScrollableControl
        • ScrollEventArgs
        • ScrollEventHandler
      • SlideBar
      • SplitContainer
        • FixedPanel
        • SplitterCancelEventArgs
        • SplitterCancelEventHandler
        • SplitterEventArgs
        • SplitterEventHandler
        • SplitterPanel
      • StatusBar
        • StatusBarControl
        • StatusBarPanel
        • StatusBarPanelAutoSize
        • StatusBarPanelBorderStyle
        • StatusBarPanelClickEventArgs
        • StatusBarPanelClickEventHandler
      • TabControl
        • TabAlignment
        • TabControlAction
        • TabControlCancelEventArgs
        • TabControlCancelEventHandler
        • TabControlEventArgs
        • TabControlEventHandler
        • TabPage
        • TabSizeMode
      • TableLayoutPanel
        • ColumnStyle
        • RowStyle
        • TableLayoutColumnStyleCollection
        • TableLayoutPanelGrowStyle
        • TableLayoutRowStyleCollection
        • TableLayoutSettings
        • TableLayoutStyle
        • TableLayoutStyleCollection
      • ToolBar
        • ToolBar.ToolBarButtonCollection
        • ToolBarButton
        • ToolBarButtonClickEventArgs
        • ToolBarButtonClickEventHandler
        • ToolBarButtonSizeMode
        • ToolBarButtonStyle
        • ToolBarTextAlign
      • UserControl
      • UserPopup
    • Content
      • AspNetPanel
      • Canvas
      • HtmlPanel
        • HtmlPanelElementClickArgs
        • HtmlPanelElementClickHandler
      • IFramePanel
      • ImageList
        • ImageList.ImageCollection
      • Label
      • Line
      • LinkLabel
        • LinkArea
        • LinkLabelLinkClickedEventArgs
        • LinkLabelLinkClickedEventHandler
      • PdfViewer
      • PictureBox
      • ProgressBar
      • ScrollBar
        • HScrollBar
        • HScrollProperties
        • ScrollEventArgs
        • ScrollEventHandler
        • ScrollProperties
        • VScrollBar
        • VScrollProperties
      • Shape
      • Spacer
      • Upload
        • CaptureMode
        • UploadedEventArgs
        • UploadedEventHandler
        • UploadErrorEventArgs
        • UploadErrorEventHandler
        • UploadErrorType
        • UploadingEventArgs
        • UploadingEventHandler
        • UploadProgressEventArgs
        • UploadProgressEventHandler
      • WebBrowser
        • WebBrowserDocumentCompletedEventArgs
        • WebBrowserDocumentCompletedEventHandler
      • Widget
        • WebRequestEventArgs
        • WebRequestHandler
    • Data Binding
      • Binding
      • BindingCompleteContext
      • BindingCompleteEventArgs
      • BindingCompleteEventHandler
      • BindingCompleteState
      • BindingContext
      • BindingManagerBase
      • BindingManagerDataErrorEventArgs
      • BindingManagerDataErrorEventHandler
      • BindingMemberInfo
      • BindingNavigator
      • BindingsCollection
      • BindingSource
      • ControlBindingsCollection
      • ControlUpdateMode
      • ConvertEventArgs
      • ConvertEventHandler
      • CurrencyManager
      • DataSourceUpdateMode
      • IBindableComponent
      • ICurrencyManagerProvider
      • ItemChangedEventArgs
      • ItemChangedEventHandler
      • ListBindingConverter
      • ListBindingHelper
      • PropertyManager
    • Editors
      • CharacterCasing
      • ComponentTool
      • ComponentToolCollection
      • DateTimePicker
      • DomainUpDown
      • InputType
      • LabelWrapper
      • MaskedTextBox
      • MonthCalendar
        • DateRangeEventArgs
        • DateRangeEventHandler
        • SelectionRange
      • NumericUpDown
      • TagTextBox
        • TagTextBoxEventArgs
        • TagTextBoxEventHandler
        • TagTextBoxMousEventArgs
        • TagTextBoxMousEventHandler
        • TagTextBoxRenderEventArgs
        • TagTextBoxRenderEventHandler
      • TextBox
      • TextBoxBase
      • TextBoxMode
      • TextBoxType
      • TimeUpDown
        • TimeUpDownFormat
      • TrackBar
      • UpDownBase
    • Enumerations
      • AccessibleRole
      • AnchorStyles
      • Appearance
      • AutoComplete
      • AutoCompleteMode
      • AutoScaleMode
      • AutoSizeMode
      • AutoValidate
      • BorderStyle
      • BoundsSpecified
      • CheckState
      • ColorDepth
      • ComboBoxStyle
      • ControlStyles
      • DataFormats
      • DataFormats.Format
      • DateTimePickerFormat
      • Day
      • DialogResult
      • Display
      • DockStyle
      • DragAction
      • DragDropEffects
      • GetChildAtPointSkip
      • HeaderPosition
      • HorizontalAlignment
      • ImageLayout
      • ImagePosition
      • ImeMode
      • Keys
      • LabelPosition
      • LeftRightAlignment
      • LineStyle
      • LinkBehavior
      • MaskFormat
      • MouseButtons
      • ObjectFit
      • Orientation
      • PanelAutoShowMode
      • PictureBoxSizeMode
      • Placement
      • PlacementMode
      • Position
      • RightToLeft
      • ScrollBars
      • ScrollEventType
      • ScrollOrientation
      • SelectionMode
      • Shortcut
      • SizeType
      • SortOrder
      • TabOrderManagerDirection
      • TextDataFormat
      • TextImageRelation
      • TickStyle
      • ValidationConstraints
      • VerticalAlignment
    • Extenders
      • Animation
        • AnimationEventArgs
        • AnimationEventHandler
      • ErrorAnimationType
      • ErrorBlinkStyle
      • ErrorIconAlignment
      • ErrorProvider
      • HelpTip
      • JavaScript
      • Rotation
      • StyleSheet
      • TabOrderManager
      • ToolTip
      • ToolTipIcon
    • Interfaces
      • IButtonControl
      • IContainerControl
      • IDataObject
    • Lists & Grids
      • CheckedListBox
        • ItemCheckEventArgs
        • ItemCheckEventHandler
      • ComboBox
      • DataGridView
        • BaseCollection
        • DataGridView.HitTestInfo
        • DataGridView.HitTestType
        • DataGridViewAutoSizeColumnMode
        • DataGridViewAutoSizeColumnsMode
        • DataGridViewAutoSizeRowMode
        • DataGridViewAutoSizeRowsMode
        • DataGridViewBand
        • DataGridViewBindingCompleteEventArgs
        • DataGridViewBindingCompleteEventHandler
        • DataGridViewButtonCell
        • DataGridViewButtonColumn
        • DataGridViewCell
        • DataGridViewCellBorderStyle
        • DataGridViewCellCancelEventArgs
        • DataGridViewCellCancelEventHandler
        • DataGridViewCellCollection
        • DataGridViewCellContextMenuNeededEventArgs
        • DataGridViewCellContextMenuNeededEventHandler
        • DataGridViewCellErrorTextNeededEventArgs
        • DataGridViewCellErrorTextNeededEventHandler
        • DataGridViewCellEventArgs
        • DataGridViewCellEventHandler
        • DataGridViewCellFormattingEventArgs
        • DataGridViewCellFormattingEventHandler
        • DataGridViewCellMouseEventArgs
        • DataGridViewCellMouseEventHandler
        • DataGridViewCellPaintEventArgs
        • DataGridViewCellPaintEventHandler
        • DataGridViewCellParsingEventArgs
        • DataGridViewCellParsingEventHandler
        • DataGridViewCellStateChangedEventArgs
        • DataGridViewCellStateChangedEventHandler
        • DataGridViewCellStyle
        • DataGridViewCellStyleContentChangedEventArgs
        • DataGridViewCellStyleContentChangedEventHandler
        • DataGridViewCellStyleScopes
        • DataGridViewCellToolTipTextNeededEventArgs
        • DataGridViewCellToolTipTextNeededEventHandler
        • DataGridViewCellValidatingEventArgs
        • DataGridViewCellValidatingEventHandler
        • DataGridViewCellValueEventArgs
        • DataGridViewCellValueEventHandler
        • DataGridViewCheckBoxCell
        • DataGridViewCheckBoxColumn
        • DataGridViewChildRowCollection
        • DataGridViewClipboardCopyMode
        • DataGridViewCollectionChangeEventArgs
        • DataGridViewColumn
        • DataGridViewColumnCollection
        • DataGridViewColumnEventArgs
        • DataGridViewColumnEventHandler
        • DataGridViewColumnHeaderCell
        • DataGridViewColumnHeadersHeightSizeMode
        • DataGridViewColumnSortMode
        • DataGridViewColumnsSortMode
        • DataGridViewColumnStateChangedEventArgs
        • DataGridViewColumnStateChangedEventHandler
        • DataGridViewComboBoxCell
        • DataGridViewComboBoxColumn
        • DataGridViewComboBoxEditingControl
        • DataGridViewContentAlignment
        • DataGridViewDataErrorEventArgs
        • DataGridViewDataErrorEventHandler
        • DataGridViewDataReadEventHandler
        • DataGridViewDataUpdatedEventArgs
        • DataGridViewDataUpdatedEventHandler
        • DataGridViewDateTimePickerCell
        • DataGridViewDateTimePickerColumn
        • DataGridViewDateTimePickerEditingControl
        • DataGridViewEditingControlShowingEventArgs
        • DataGridViewEditingControlShowingEventHandler
        • DataGridViewEditMode
        • DataGridViewElement
        • DataGridViewElementStates
        • DataGridViewHeaderCell
        • DataGridViewImageCell
        • DataGridViewImageCellLayout
        • DataGridViewImageColumn
        • DataGridViewLinkCell
        • DataGridViewLinkColumn
        • DataGridViewMaskedTextBoxCell
        • DataGridViewMaskedTextBoxColumn
        • DataGridViewMaskedTextBoxEditingControl
        • DataGridViewNumericUpDownCell
        • DataGridViewNumericUpDownColumn
        • DataGridViewNumericUpDownEditingControl
        • DataGridViewRow
        • DataGridViewRowCancelEventArgs
        • DataGridViewRowCancelEventHandler
        • DataGridViewRowCollection
        • DataGridViewRowErrorTextNeededEventArgs
        • DataGridViewRowErrorTextNeededEventHandler
        • DataGridViewRowEventArgs
        • DataGridViewRowEventHandler
        • DataGridViewRowHeaderCell
        • DataGridViewRowHeadersWidthSizeMode
        • DataGridViewRowHeightInfoNeededEventArgs
        • DataGridViewRowHeightInfoNeededEventHandler
        • DataGridViewRowsAddedEventArgs
        • DataGridViewRowsAddedEventHandler
        • DataGridViewRowsRemovedEventArgs
        • DataGridViewRowsRemovedEventHandler
        • DataGridViewRowStateChangedEventArgs
        • DataGridViewRowStateChangedEventHandler
        • DataGridViewSelectedCellCollection
        • DataGridViewSelectedColumnCollection
        • DataGridViewSelectedRowCollection
        • DataGridViewSelectionMode
        • DataGridViewSortCompareEventArgs
        • DataGridViewSortCompareEventHandler
        • DataGridViewSortSelectionMode
        • DataGridViewTextBoxCell
        • DataGridViewTextBoxColumn
        • DataGridViewTextBoxEditingControl
        • DataGridViewToolClickEventHandler
        • DataGridViewTriState
        • IDataGridViewEditingControl
        • InputType
        • ScrollEventArgs
        • ScrollEventHandler
        • TextBoxMode
        • TextBoxType
      • ListBox
      • ListControl
        • ListControlConvertEventArgs
        • ListControlConvertEventHandler
      • ListView
        • CacheVirtualItemsEventArgs
        • CacheVirtualItemsEventHandler
        • ColumnClickEventArgs
        • ColumnClickEventHandler
        • ColumnHeader
        • ColumnHeaderAutoResizeStyle
        • ColumnHeaderStyle
        • ColumnReorderedEventArgs
        • ColumnReorderedEventHandler
        • ColumnWidthChangedEventArgs
        • ColumnWidthChangedEventHandler
        • GridLineStyle
        • ImageColumnHeader
        • ItemCheckedEventArgs
        • ItemCheckedEventHandler
        • ItemClickEventArgs
        • ItemClickEventHandler
        • ItemMouseHoverEventArgs
        • ItemMouseHoverEventHandler
        • ItemSelectionChangedEventArgs
        • ItemSelectionChangedEventHandler
        • LabelEditEventArgs
        • LabelEditEventHandler
        • ListView.CheckedIndexCollection
        • ListView.CheckedListViewItemCollection
        • ListView.ColumnHeaderCollection
        • ListView.ListViewItemCollection
        • ListView.SelectedIndexCollection
        • ListView.SelectedListViewItemCollection
        • ListViewBindingCompleteEventArgs
        • ListViewBindingCompleteEventEventHandler
        • ListViewDataUpdatedEventArgs
        • ListViewDataUpdatedEventHandler
        • ListViewItem
        • ListViewItem.ListViewSubItem
        • ListViewItem.ListViewSubItemCollection
        • ListViewItemDragEventArgs
        • ListViewItemDragEventHandler
        • ListViewItemStates
        • ListViewVirtualItemsSelectionRangeChangedEventArgs
        • ListViewVirtualItemsSelectionRangeChangedEventHandler
        • RetrieveVirtualItemEventArgs
        • RetrieveVirtualItemEventHandler
        • SearchForVirtualItemEventArgs
        • SearchForVirtualItemEventHandler
        • View
      • ListViewComboBox
      • PropertyGrid
        • GridItem
        • GridItemCollection
        • GridItemType
        • PropertySort
        • PropertyValueChangedEventArgs
        • PropertyValueChangedEventHandler
        • PropertyValueDataErrorEventArgs
        • PropertyValueDataErrorEventHandler
        • PropertyValueFormattingEventArgs
        • PropertyValueFormattingEventHandler
        • SelectedGridItemBeginEditEventArgs
        • SelectedGridItemBeginEditEventHandler
        • SelectedGridItemChangedEventArgs
        • SelectedGridItemChangedEventHandler
        • SelectedGridItemEndEditEventArgs
        • SelectedGridItemEndEditEventHandler
      • TreeView
        • ItemDragEventArgs
        • ItemDragEventHandler
        • NodeLabelEditEventArgs
        • NodeLabelEditEventHandler
        • TreeNode
        • TreeNodeCollection
        • TreeNodeMouseClickEventArgs
        • TreeNodeMouseClickEventHandler
        • TreeNodeMouseHoverEventArgs
        • TreeNodeMouseHoverEventHandler
        • TreeViewAction
        • TreeViewCancelEventArgs
        • TreeViewCancelEventHandler
        • TreeViewEventArgs
        • TreeViewEventHandler
        • TreeViewNodeDragEventArgs
        • TreeViewNodeDragEventHandler
      • TreeViewComboBox
      • UserComboBox
    • Media
      • Audio
      • FlashPlayer
      • Media
      • Video
    • Menus
      • CheckedMenuItem
      • ContextMenu
      • LinkMenuItem
      • MainMenu
      • Menu
      • Menu.MenuItemCollection
      • MenuBar
      • MenuItem
      • MenuItemEventArgs
      • MenuItemEventHandler
      • MenuItemSizeMode
      • MenuMerge
    • Notifications
      • AlertBox
        • MessageBoxIcon
      • MessageBox
        • MessageBoxButtons
        • MessageBoxDefaultButton
        • MessageBoxIcon
      • Toast
    • Other Components
      • Timer
  • Wisej.Base
    • General
      • Component
      • Cookie
      • CookieCollection
      • PostbackPropertyAttribute
      • TextUtils
    • Responsive
      • ResponsiveProfile
      • ResponsiveProfileCollection
      • ResponsivePropertyAttribute
  • Wisej.Core
    • General
      • BrowserStorage
      • ClientBrowser
      • ClientProfile
      • ClientTheme
      • CookieStorage
      • FileSystemProvider
      • HealthCheck
      • IEventFilter
      • IFileSystemProvider
      • LocalStorage
      • MimeTypes
      • SessionStorage
      • SynchronizedLinkedList<T>
      • SynchronizedList<T>
      • WebMethodAttribute
      • WisejEventArgs
        • WisejEventArgs.KeyboardInfo
        • WisejEventArgs.PointerInfo
      • WisejResourcesAttribute
      • WisejSerializer
      • WisejSerializerOptions
    • Interfaces
      • IWisejComponent
      • IWisejControl
      • IWisejDataStore
      • IWisejEditorService
      • IWisejExtenderProvider
      • IWisejHandler
      • IWisejSerializable
      • IWisejWindow
  • Wisej.Web.VisualBasic
    • Extensions
      • Interaction
      • MsgBoxResult
      • MsgBoxStyle
  • System
    • Extensions
      • DateTimeExtensions
      • FontExtensions
      • JSON
      • StringExtensions
Powered by GitBook
On this page
  • Constructors
  • ColumnHeaderCollection(owner)
  • Properties
  • Count
  • IsReadOnly
  • Item(index)
  • Item(key)
  • Methods
  • Add(text, width, textAlign)
  • Add(header)
  • Add(text)
  • Add(text, width)
  • Add(key, text)
  • Add(key, text, width)
  • Add(key, text, width, textAlign, imageKey)
  • Add(key, text, width, textAlign, imageIndex)
  • AddRange(headers)
  • Clear()
  • Clear(dispose)
  • Contains(header)
  • ContainsKey(key)
  • CopyTo(array, arrayIndex)
  • GetEnumerator()
  • IndexOf(value)
  • IndexOfKey(key)
  • Insert(index, header)
  • Insert(index, text, width, textAlign)
  • Insert(index, text)
  • Insert(index, text, width)
  • Insert(index, key, text)
  • Insert(index, key, text, width)
  • Insert(index, key, text, width, textAlign, imageKey)
  • Insert(index, key, text, width, textAlign, imageIndex)
  • Remove(column)
  • RemoveAt(index)
  • RemoveByKey(key)
  • Events
  • CollectionChanged

Was this helpful?

Export as PDF
  1. Wisej.Web
  2. Lists & Grids
  3. ListView

ListView.ColumnHeaderCollection

Wisej.Web.ListView ColumnHeaderCollection

Last updated 2 years ago

Was this helpful?

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents the collection of column headers in a control.

public class ColumnHeaderCollection : IList, ICollection, IEnumerable, IList<ColumnHeader>, ICollection<ColumnHeader>, IEnumerable<ColumnHeader>
Public Class ColumnHeaderCollection
    Inherits IList
    Implements ICollection, IEnumerable, IList(Of ColumnHeader), ICollection(Of ColumnHeader), IEnumerable(Of ColumnHeader)

Constructors

ColumnHeaderCollection(owner)

Initializes a new instance of the class.

Name
Type
Description

owner

Properties

Count

: Returns the number of items in the collection.

IsReadOnly

: Returns whether the collection is read-only.

Item(index)

Throws:

Methods

Adds a column header to the collection with specified text, width, and alignment settings.

Parameter
Type
Description

text

The text to display in the column header.

width

The initial width of the column header.

textAlign

Parameter
Type
Description

header

Creates and adds a column with the specified text to the collection.

Parameter
Type
Description

text

The text to display in the column header.

Creates and adds a column with the specified text and width to the collection.

Parameter
Type
Description

text

width

Creates and adds a column with the specified text and key to the collection.

Parameter
Type
Description

key

text

Creates and adds a column with the specified text, key, and width to the collection.

Parameter
Type
Description

key

The key of the column header.

text

The text to display in the column header.

width

Creates and adds a column with the specified key, aligned text, width, and image key to the collection.

Parameter
Type
Description

key

The key of the column header.

text

The text to display in the column header.

width

The initial width of the column header.

textAlign

imageKey

The key value of the image to display in the column header.

Creates and adds a column with the specified key, aligned text, width, and image index to the collection.

Parameter
Type
Description

key

The key of the column header.

text

The text to display in the column header.

width

The initial width of the column header.

textAlign

imageIndex

The index value of the image to display in the column.

Adds an array of column headers to the collection.

Parameter
Type
Description

headers

Removes all column headers from the collection.

Removes all column headers from the collection and optionally disposes them.

Parameter
Type
Description

dispose

Indicates that the child columns should be disposed after being removed.

Determines whether the specified header is located in the collection.

Parameter
Type
Description

header

Determines if a header with the specified key is contained in the collection.

Parameter
Type
Description

key

The name of the header to search for.

Parameter
Type
Description

array

arrayIndex

Returns an enumerator to use to iterate through the column header collection.

Returns the index, within the collection, of the specified header.

Parameter
Type
Description

value

Determines the index for a header with the specified key.

Parameter
Type
Description

key

The name of the header to retrieve the index for.

Inserts an existing header into the collection at the specified index.

Parameter
Type
Description

index

The zero-based index location where the header is inserted.

header

Throws:

Creates a new column header and inserts it into the collection at the specified index.

Parameter
Type
Description

index

The zero-based index location where the header is inserted.

text

The text to display in the header.

width

The initial width of the header. Set to -1 to autosize the header to the size of the largest subitem text in the column or -2 to autosize the header to the size of the text of the header.

textAlign

Throws:

Creates a new column with the specified text, and inserts the header into the collection at the specified index.

Parameter
Type
Description

index

The zero-based index location where the header is inserted.

text

The text to display in the header.

Throws:

Creates a new header with the specified text and initial width, and inserts the header into the collection at the specified index.

Parameter
Type
Description

index

The zero-based index location where the header is inserted.

text

The text to display in the header.

width

The initial width, in pixels, of the header.

Creates a new header with the specified text and key, and inserts the header into the collection at the specified index.

Parameter
Type
Description

index

The zero-based index location where the header is inserted.

key

The name of the header.

text

The text to display in the header.

Creates a new column with the specified text, key, and width, and inserts the header into the collection at the specified index.

Parameter
Type
Description

index

The zero-based index location where the header is inserted.

key

The name of the header.

text

The text to display in the header.

width

The initial width, in pixels, of the header.

Creates a new header with the specified aligned text, key, width, and image key, and inserts the header into the collection at the specified index.

Parameter
Type
Description

index

The zero-based index location where the column header is inserted.

key

The name of the header.

text

The text to display in the header.

width

The initial width, in pixels, of the header.

textAlign

imageKey

The key of the image to display in the header.

Creates a new header with the specified aligned text, key, width, and image index, and inserts the header into the collection at the specified index.

Parameter
Type
Description

index

The zero-based index location where the column header is inserted.

key

The name of the header.

text

The text to display in the column header.

width

The initial width, in pixels, of the header.

textAlign

imageIndex

The index of the image to display in the header.

Removes the specified header from the collection.

Parameter
Type
Description

column

Removes the header at the specified index within the collection.

Parameter
Type
Description

index

The zero-based index of the header to remove.

Throws:

Removes the header with the specified key from the collection.

Parameter
Type
Description

key

The name of the header to remove from the collection.

Events

The that owns this collection.

: Returns the column header at the specified index within the collection.

index is less than 0 or greater than or equal to the value of the property of the .

Item(key)

: Returns the column header with the specified key from the collection.

Add(text, width, textAlign)

One of the values.

Returns: . The that was created and added to the collection.

Add(header)

Adds an existing to the collection.

The to add to the collection.

Returns: . The zero-based index into the collection where the item was added.

Add(text)

Returns: . The with the specified text that was added to the .

Add(text, width)

The text of the to add to the collection.

The width of the to add to the collection.

Returns: . The with the specified text and width that was added to the .

Add(key, text)

The key of the to add to the collection.

The text of the to add to the collection.

Returns: . The with the specified key and text that was added to the .

Add(key, text, width)

The initial width of the .

Returns: . The with the given text, key, and width that was added to the collection.

Add(key, text, width, textAlign, imageKey)

One of the values.

Returns: . The with the specified key, aligned text, width, and image key that has been added to the collection.

Add(key, text, width, textAlign, imageIndex)

One of the values.

Returns: . The with the specified key, aligned text, width, and image index that has been added to the collection.

AddRange(headers)

An array of objects to add to the collection.

Clear()

Clear(dispose)

Contains(header)

A representing the header to locate in the collection.

Returns: . true if the header is contained in the collection; otherwise, false.

ContainsKey(key)

Returns: . true if a header with the specified name is contained in the collection; otherwise, false.

CopyTo(array, arrayIndex)

GetEnumerator()

Returns: . An that represents the column header collection.

IndexOf(value)

A representing the header to locate in the collection.

Returns: . The zero-based index of the header's location in the collection. If the header is not located in the collection, the return value is -1.

IndexOfKey(key)

Returns: . The zero-based index for the first occurrence of the column with the specified name, if found; otherwise, -1.

Insert(index, header)

The to insert into the collection.

index is less than 0 or greater than or equal to the value of the property of the .

Insert(index, text, width, textAlign)

One of the values.

index is less than 0 or greater than or equal to the value of the property of the .

Insert(index, text)

index is less than 0 or greater than or equal to the value of the property of the .

Insert(index, text, width)

Insert(index, key, text)

Insert(index, key, text, width)

Insert(index, key, text, width, textAlign, imageKey)

One of the values.

Insert(index, key, text, width, textAlign, imageIndex)

One of the values.

Remove(column)

A representing the header to remove from the collection.

RemoveAt(index)

index is less than 0 or greater than or equal to the value of the property of the .

RemoveByKey(key)

CollectionChanged

Fired when the collection changes.

ColumnHeader
ColumnHeader
ColumnHeader
ColumnHeader
ColumnHeader
Int32
ColumnHeader
ColumnHeader
ColumnHeaderCollection
ColumnHeader
ColumnHeader
ColumnHeaderCollection
ColumnHeader
ColumnHeader
ColumnHeaderCollection
ColumnHeader
ColumnHeader
ColumnHeader
ColumnHeader
ColumnHeader
ColumnHeader
Boolean
Boolean
IEnumerator
IEnumerator
Int32
Int32
CollectionChangeEventHandler
ArgumentOutOfRangeException
ColumnHeaderCollection
Count
ArgumentOutOfRangeException
ColumnHeaderCollection
Count
ArgumentOutOfRangeException
ColumnHeaderCollection
Count
ArgumentOutOfRangeException
ColumnHeaderCollection
Count
ArgumentOutOfRangeException
ColumnHeaderCollection
Count
ListView
ListView
String
Int32
HorizontalAlignment
HorizontalAlignment
ColumnHeader
ColumnHeader
String
String
ColumnHeader
Int32
ColumnHeader
String
ColumnHeader
String
ColumnHeader
String
String
Int32
ColumnHeader
String
String
Int32
HorizontalAlignment
HorizontalAlignment
String
String
String
Int32
HorizontalAlignment
HorizontalAlignment
Int32
ColumnHeader[]
ColumnHeader
Boolean
ColumnHeader
ColumnHeader
String
ColumnHeader[]
Int32
ColumnHeader
ColumnHeader
String
Int32
ColumnHeader
ColumnHeader
Int32
String
Int32
HorizontalAlignment
HorizontalAlignment
Int32
String
Int32
String
Int32
Int32
String
String
Int32
String
String
Int32
Int32
String
String
Int32
HorizontalAlignment
HorizontalAlignment
String
Int32
String
String
Int32
HorizontalAlignment
HorizontalAlignment
Int32
ColumnHeader
ColumnHeader
Int32
String
ListView
ColumnHeaderCollection
Int32
Boolean