LogoLogo
HomeNewsSupportVideos
v4.0
v4.0
  • Wisej.NET API
  • What's New
  • Releases
  • Concepts
  • Themes
  • Extensions
  • Wisej.Web
    • General
      • Application
        • Client
        • ClientBrowser
        • ClientCollection
        • ClientPlatform
        • ClientProfile
        • ClientTheme
        • Configuration
        • LoadConfigurationEventArgs
        • LoadConfigurationEventHandler
        • PlatformProvider
        • Application.FormCollection
        • Application.PageCollection
        • Application.RequestType
        • HashChangedEventArgs
        • HashChangedEventHandler
        • LicenseErrorEventArgs
        • LicenseErrorEventHandler
        • RequestEventArgs
        • RequestEventHandler
        • ResponsiveProfileChangedEventArgs
        • ResponsiveProfileChangedEventHandler
      • BackgroundWorker
      • BindableComponent
      • Clipboard
      • Component
      • Control
        • Control.ControlCollection
        • ControlEventArgs
        • ControlEventHandler
        • DragEventArgs
        • DragEventHandler
        • FocusEventArgs
        • FocusEventHandler
        • HelpEventArgs
        • HelpEventHandler
        • JavaScript.ClientEvent
        • JavaScript.ClientEventCollection
        • KeyEventArgs
        • KeyEventHandler
        • KeyPressEventArgs
        • KeyPressEventHandler
        • LayoutEventArgs
        • LayoutEventHandler
        • MouseEventArgs
        • MouseEventHandler
        • PaintEventArgs
        • PaintEventHandler
        • PinchEventArgs
        • PinchEventHandler
        • PreviewKeyDownEventArgs
        • PreviewKeyDownEventHandler
        • QueryContinueDragEventArgs
        • QueryContinueDragEventHandler
        • ResponsiveProfileChangedEventArgs
        • ResponsiveProfileChangedEventHandler
        • RotateEventArgs
        • RotateEventHandler
        • SwipeAxis
        • SwipeDirection
        • SwipeEventArgs
        • SwipeEventHandler
        • TouchEventArgs
        • TouchEventHandler
        • TrackEventArgs
        • TrackEventHandler
        • WebEventArgs
        • WebEventHandler
        • WidgetEventArgs
        • WidgetEventHandler
      • Cursor
      • Cursors
      • DataObject
      • Padding
      • Screen
      • SessionReference<T>
    • Buttons
      • Button
        • MenuButtonItemClickedEventArgs
        • MenuButtonItemClickedEventHandler
      • ButtonBase
      • CheckBox
      • RadioButton
      • SplitButton
    • Common Dialogs
      • ColorDialog
      • CommonDialog
      • FileDialog
      • FileDialogLoadPathEventArgs
      • FileDialogLoadPathEventHandler
      • FileDialogRootCollection
      • FileDialogUI
      • FolderBrowserDialog
      • FolderBrowserDialogUI
      • OpenFileDialog
      • SaveFileDialog
    • Containers
      • Accordion
        • Accordion.PanelCollection
        • AccordionAction
        • AccordionCancelEventArgs
        • AccordionCancelEventHandler
        • AccordionEventArgs
        • AccordionEventHandler
        • AccordionPanel
      • ContainerControl
        • AcceleratorEventArgs
        • AcceleratorEventHandler
      • DataRepeater
        • DataRepeaterAddRemoveItemsCancelEventArgs
        • DataRepeaterAddRemoveItemsCancelEventHandler
        • DataRepeaterAddRemoveItemsEventArgs
        • DataRepeaterAddRemoveItemsEventHandler
        • DataRepeaterDataErrorEventArgs
        • DataRepeaterDataErrorEventHandler
        • DataRepeaterItem
        • DataRepeaterItemCloneEventArgs
        • 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
        • StatusBar.StatusBarPanelCollection
        • StatusBarControl
        • StatusBarPanel
        • StatusBarPanelAutoSize
        • StatusBarPanelBorderStyle
        • StatusBarPanelClickEventArgs
        • StatusBarPanelClickEventHandler
      • TabControl
        • TabAlignment
        • TabControl.TabPageCollection
        • TabControlAction
        • TabControlCancelEventArgs
        • TabControlCancelEventHandler
        • TabControlEventArgs
        • TabControlEventHandler
        • TabPage
        • TabSizeMode
      • TableLayoutPanel
        • ColumnStyle
        • RowStyle
        • TableLayoutColumnStyleCollection
        • TableLayoutControlCollection
        • TableLayoutPanelCellPosition
        • TableLayoutPanelGrowStyle
        • TableLayoutRowStyleCollection
        • TableLayoutSettings
        • TableLayoutStyle
        • TableLayoutStyleCollection
      • ToolBar
        • ToolBar.ToolBarButtonCollection
        • ToolBarButton
        • ToolBarButtonClickEventArgs
        • ToolBarButtonClickEventHandler
        • ToolBarButtonSizeMode
        • ToolBarButtonStyle
        • ToolBarTextAlign
      • UserControl
      • UserPopup
    • Content
      • AspNetPanel
      • Canvas
        • CanvasCompositeOperation
        • CanvasLineCap
        • CanvasLineJoin
        • CanvasRepeatPattern
        • CanvasTextAlign
        • CanvasTextBaseline
      • HtmlPanel
        • HtmlPanelElementClickArgs
        • HtmlPanelElementClickHandler
      • IFramePanel
      • ImageList
        • ImageList.ImageCollection
        • ImageListEntry
      • Label
      • Line
      • LinkLabel
        • LinkArea
        • LinkLabelLinkClickedEventArgs
        • LinkLabelLinkClickedEventHandler
      • PdfViewer
        • PdfViewerType
      • PictureBox
      • ProgressBar
      • ScrollBar
        • HScrollBar
        • HScrollProperties
        • ScrollEventArgs
        • ScrollEventHandler
        • ScrollProperties
        • VScrollBar
        • VScrollProperties
      • Shape
        • Shape.Border
      • 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
      • Command
      • Command<T>
      • CommandArgs
      • CommandArgs<T>
      • CommandManager
      • ControlBindingsCollection
      • ControlUpdateMode
      • ConvertEventArgs
      • ConvertEventHandler
      • CurrencyManager
      • DataSourceUpdateMode
      • IBindableComponent
      • IBinding
      • ICurrencyManagerProvider
      • ItemChangedEventArgs
      • ItemChangedEventHandler
      • ListBindingHelper
      • PropertyManager
    • Editors
      • CharacterCasing
      • ComponentTool
      • ComponentToolCollection
      • DateTimePicker
      • DomainUpDown
        • DomainUpDown.DomainUpDownItemCollection
      • InputType
      • LabelWrapper
      • MaskedTextBox
        • TypeValidationEventArgs
        • TypeValidationEventHandler
      • MonthCalendar
        • DateRangeEventArgs
        • DateRangeEventHandler
        • SelectionRange
      • NumericUpDown
      • TagTextBox
        • TagTextBoxEventArgs
        • TagTextBoxEventHandler
        • TagTextBoxMousEventArgs
        • TagTextBoxMousEventHandler
        • TagTextBoxRenderEventArgs
        • TagTextBoxRenderEventHandler
      • TextBox
      • TextBoxBase
      • TextBoxMode
      • TextBoxType
      • TimeUpDown
        • TimeUpDownFormat
      • ToolClickEventArgs
      • ToolClickEventHandler
      • TrackBar
      • TypedTextBox
      • 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
      • ProgressBarStyle
      • RightToLeft
      • ScrollBars
      • ScrollEventType
      • ScrollOrientation
      • SelectionMode
      • Shortcut
      • SizeType
      • SortOrder
      • TabOrderManagerDirection
      • TextDataFormat
      • TextImageRelation
      • TickStyle
      • ValidationConstraints
      • VerticalAlignment
    • Extenders
      • Animation
        • Animation.Properties
        • AnimationEventArgs
        • AnimationEventHandler
        • AnimationTiming
      • ErrorAnimationType
      • ErrorBlinkStyle
      • ErrorIconAlignment
      • ErrorProvider
        • ErrorProviderErrorChangedEventArgs
        • ErrorProviderErrorChangedHandler
      • HelpTip
      • JavaScript
        • JavaScript.ClientEvent
        • JavaScript.ClientEventCollection
      • Rotation
        • Rotation.Properties
      • StyleSheet
      • TabOrderManager
      • ToolTip
      • ToolTipIcon
      • Validation
        • CurrencyValidationRule
        • DecimalValidationRule
        • EmailValidationRule
        • IntegerValidationRule
        • RegexValidationRule
        • RequiredValidationRule
        • TelephoneValidationRule
        • ValidationEventArgs
        • ValidationEventHandler
        • ValidationRule
    • Interfaces
      • IButtonControl
      • ICommand
      • ICommandSource
      • IContainerControl
      • IDataObject
      • IDropTarget
      • IErrorProvider
      • IImage
      • ILabel
      • IModified
      • IReadOnly
      • IUserData
      • IValidation
    • Lists & Grids
      • CheckedListBox
        • CheckedListBox.CheckedIndexCollection
        • CheckedListBox.CheckedObjectCollection
        • CheckedListBox.ObjectCollection
        • ItemCheckEventArgs
        • ItemCheckEventHandler
      • ComboBox
        • ComboBox.ObjectCollection
      • DataGridView
        • BaseCollection
        • DataGridView.CustomSummary
        • DataGridView.HitTestInfo
        • DataGridView.HitTestType
        • DataGridViewAutoSizeColumnMode
        • DataGridViewAutoSizeColumnsMode
        • DataGridViewAutoSizeRowMode
        • DataGridViewAutoSizeRowsMode
        • DataGridViewBand
        • DataGridViewBindingCompleteEventArgs
        • DataGridViewBindingCompleteEventHandler
        • DataGridViewButtonCell
        • DataGridViewButtonColumn
        • DataGridViewCell
        • DataGridViewCellBorderStyle
        • DataGridViewCellCancelEventArgs
        • DataGridViewCellCancelEventHandler
        • DataGridViewCellCollection
        • DataGridViewCellCommandEventArgs
        • DataGridViewCellCommandEventHandler
        • 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
        • DataGridViewComboBoxCell.ObjectCollection
        • DataGridViewComboBoxColumn
        • DataGridViewComboBoxEditingControl
        • DataGridViewContentAlignment
        • DataGridViewDataErrorEventArgs
        • DataGridViewDataErrorEventHandler
        • DataGridViewDataReadEventArgs
        • 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
        • DataGridViewSummaryRow
        • DataGridViewTextBoxCell
        • DataGridViewTextBoxColumn
        • DataGridViewTextBoxEditingControl
        • DataGridViewToolClickEventArgs
        • DataGridViewToolClickEventHandler
        • DataGridViewTriState
        • IDataGridViewEditingControl
        • InputType
        • ScrollEventArgs
        • ScrollEventHandler
        • SummaryRowPosition
        • SummaryType
        • TextBoxMode
        • TextBoxType
      • ListBox
        • ListBox.ObjectCollection
        • ListBox.SelectedIndexCollection
        • ListBox.SelectedObjectCollection
      • 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
    • 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
        • Cookie.SameSiteMode
      • CookieCollection
      • PostbackPropertyAttribute
      • TextUtils
    • Responsive
      • ResponsiveProfile
      • ResponsiveProfileCollection
      • ResponsivePropertyAttribute
  • Wisej.Core
    • General
      • BrowserStorage
      • CookieStorage
      • DynamicObject
      • FileSystemProvider
      • HealthCheck
      • HttpContext
      • HttpCookie
        • SameSiteMode
      • HttpCookieCollection
      • HttpFileCollection
      • HttpPostedFile
      • HttpRequest
      • HttpResponse
      • IEventFilter
      • IFileSystemProvider
      • LocalStorage
      • MimeTypes
      • SessionStorage
      • SynchronizedList<T>
      • WebMethodAttribute
      • WisejEventArgs
        • WisejEventArgs.KeyboardInfo
        • WisejEventArgs.PointerInfo
      • WisejResourcesAttribute
      • WisejSerializer
      • WisejSerializerOptions
      • WisejSerializerOptionsAttribute
    • Interfaces
      • IWisejComponent
      • IWisejControl
      • IWisejDataStore
      • IWisejEditorService
      • IWisejExtenderProvider
      • IWisejHandler
      • IWisejSerializable
      • IWisejWindow
  • Wisej.Web.Markup
    • Extensions
      • BindingExtensions
      • ButtonExtensions
      • CheckedListBoxExtensions
      • ComboBoxExtensions
      • ControlExtensions
      • DateTimePickerExtensions
      • FlexLayoutPanelExtensions
      • FlowLayoutPanelExtensions
      • FormExtensions
      • GroupBoxExtensions
      • IButtonControlExtensions
      • ICommandSourceExtensions
      • IErrorProviderExtensions
      • IImageExtensions
      • ILabelExtensions
      • IModifiedExtensions
      • IReadOnlyExtensions
      • LabelExtensions
      • LineExtensions
      • LinkLabelExtensions
      • ListBoxExtensions
      • ListControlExtensions
      • MonthCalendarExtenestions
      • NumericUpDownExtensions
      • PageExtensions
      • PanelExtensions
      • PictureBoxExtensions
      • ProgressBarExtensions
      • RadioButtonExtensions
      • ScrollableControlExtensions
      • ScrollBarExtensions
      • ShapeExtensions
      • SplitterControlExtensions
      • StatusBarExtensions
      • TabControlExtensions
      • TableLayoutPanelExtensions
      • TabPageExtensions
      • TextBoxExtensions
      • TimerExtensions
      • TimeUpDownExtensions
      • ToolBarButtonExtensions
      • ToolBarExtensions
      • TrackBarExtensions
      • TreeNodeExtensions
      • TreeViewExtensions
      • UpDownControlExtensions
      • WebBrowserExtensions
  • Wisej.Web.VisualBasic
    • Extensions
      • Interaction
      • MsgBoxResult
      • MsgBoxStyle
  • Wisej.Services
    • General
      • InjectAttribute
      • ServiceLifetime
      • ServiceProvider
  • System
    • Extensions
      • DateTimeExtensions
      • FontExtensions
      • JSON
      • Markdown
      • StringExtensions
  • Wisej.Resources
    • Resources
      • ComponentResourceManager
      • ResourceManager
Powered by GitBook
On this page
  • Constructors
  • DataGridViewColumnCollection(dataGrid)
  • Properties
  • Item(index)
  • Item(name)
  • List
  • Methods
  • Add(column)
  • Add(name)
  • Add(name, valueType)
  • Add(name, caption)
  • Add(name, caption, valueType)
  • AddRange(newColumns)
  • Clear()
  • Clear(dispose)
  • Contains(column)
  • Contains(name)
  • CopyTo(array, index)
  • GetColumnCount(includeFilter)
  • GetColumnsWidth(includeFilter)
  • GetFirstColumn(includeFilter, excludeFilter)
  • GetLastColumn(includeFilter, excludeFilter)
  • GetNextColumn(startColumn, includeFilter, excludeFilter)
  • GetPreviousColumn(startColumn, includeFilter, excludeFilter)
  • IndexOf(column)
  • IndexOf(name)
  • Insert(index, column)
  • OnCollectionChanged(action, element)
  • Remove(column)
  • Remove(name)
  • RemoveAt(index)
  • SetColumnIndex(column, newIndex)
  • Events
  • CollectionChanged

Was this helpful?

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

DataGridViewColumnCollection

Wisej.Web.DataGridViewColumnCollection

Last updated 1 month ago

Was this helpful?

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

  • BaseCollection

    • DataGridViewColumnCollection

Represents a collection of DataGridViewColumn objects in a DataGridView control.

public class DataGridViewColumnCollection : BaseCollection, IList, IList<DataGridViewColumn>, ICollection<DataGridViewColumn>, IEnumerable<DataGridViewColumn>
Public Class DataGridViewColumnCollection
    Inherits BaseCollection
    Implements IList, IList(Of DataGridViewColumn), ICollection(Of DataGridViewColumn), IEnumerable(Of DataGridViewColumn)

Constructors

DataGridViewColumnCollection(dataGrid)

Initializes a new instance of the DataGridViewColumnCollection class for the given DataGridView.

Name
Type
Description

dataGrid

Properties

Item(index)

DataGridViewColumn: Returns the column at the given index in the collection.

Throws:

  • ArgumentOutOfRangeExceptionindex is less than zero or greater than the number of columns in the collection minus one.

DataGridViewColumn: Returns the column of the given name in the collection.

Throws:

  • ArgumentNullExceptionname is null.

IList: Returns the collection.

Methods

Adds the given DataGridViewColumn to the collection.

Parameter
Type
Description

column

Returns: Int32. The index of the column.

Throws:

  • ArgumentNullExceptioncolumn is null.

  • InvalidOperationException The associated DataGridView control is performing one of the following actions that temporarily prevents new columns from being added:

  • Selecting all cells in the control.

  • Clearing the selection.Updating column DisplayIndex property values. Or this method is being called from a handler for one of the following DataGridView events:

  • CellEnter

  • CellLeave

  • CellValidating

  • CellValidated

  • RowEnter

  • RowLeave

  • RowValidated

  • RowValidating

Adds a DataGridViewTextBoxColumn with the given column name to the collection.

Parameter
Type
Description

name

The name by which the column will be referred.

Returns: Int32. The index of the column.

Throws:

  • InvalidOperationException The associated DataGridView control is performing one of the following actions that temporarily prevents new columns from being added:

  • Selecting all cells in the control.

  • Clearing the selection.Updating column DisplayIndex property values. Or this method is being called from a handler for one of the following DataGridView events:

  • CellEnter

  • CellLeave

  • CellValidating

  • CellValidated

  • RowEnter

  • RowLeave

  • RowValidated

  • RowValidating

Adds a DataGridViewTextBoxColumn with the given column name and call value type to the collection.

Parameter
Type
Description

name

The name by which the column will be referred.

valueType

Returns: Int32. The index of the column.

Throws:

  • InvalidOperationException The associated DataGridView control is performing one of the following actions that temporarily prevents new columns from being added:

  • Selecting all cells in the control.

  • Clearing the selection.Updating column DisplayIndex property values. Or this method is being called from a handler for one of the following DataGridView events:

  • CellEnter

  • CellLeave

  • CellValidating

  • CellValidated

  • RowEnter

  • RowLeave

  • RowValidated

  • RowValidating

Adds a DataGridViewTextBoxColumn with the given column name and column header text to the collection.

Parameter
Type
Description

name

The name by which the column will be referred.

caption

The text for the column's header.

Returns: Int32. The index of the column.

Throws:

  • InvalidOperationException The associated DataGridView control is performing one of the following actions that temporarily prevents new columns from being added:

  • Selecting all cells in the control.

  • Clearing the selection.Updating column DisplayIndex property values. Or this method is being called from a handler for one of the following DataGridView events:

  • CellEnter

  • CellLeave

  • CellValidating

  • CellValidated

  • RowEnter

  • RowLeave

  • RowValidated

  • RowValidating

Adds a DataGridViewTextBoxColumn with the given column name, column header text, and cell value type to the collection.

Parameter
Type
Description

name

The name by which the column will be referred.

caption

The text for the column's header.

valueType

Returns: Int32. The index of the column.

Throws:

  • InvalidOperationException The associated DataGridView control is performing one of the following actions that temporarily prevents new columns from being added:

  • Selecting all cells in the control.

  • Clearing the selection.Updating column DisplayIndex property values. Or this method is being called from a handler for one of the following DataGridView events:

  • CellEnter

  • CellLeave

  • CellValidating

  • CellValidated

  • RowEnter

  • RowLeave

  • RowValidated

  • RowValidating

Adds a range of columns to the collection.

Parameter
Type
Description

newColumns

Throws:

  • ArgumentNullExceptionnewColumns is null.

  • InvalidOperationException The associated DataGridView control is performing one of the following actions that temporarily prevents new columns from being added:

  • Selecting all cells in the control.

  • Clearing the selection.Updating column DisplayIndex property values. Or this method is being called from a handler for one of the following DataGridView events:

  • CellEnter

  • CellLeave

  • CellValidating

  • CellValidated

  • RowEnter

  • RowLeave

  • RowValidated

  • RowValidating

Clears the collection.

Throws:

  • InvalidOperationException The associated DataGridView control is performing one of the following actions that temporarily prevents new columns from being added: - Selecting all cells in the control. - Clearing the selection.Updating column DisplayIndex property values. Or this method is being called from a handler for one of the following DataGridView events: - CellEnter - CellLeave - CellValidating - CellValidated - RowEnter - RowLeave - RowValidated - RowValidating

Clears the collection and disposes the columns.

Parameter
Type
Description

dispose

Determines whether the collection contains the given DataGridViewColumn.

Parameter
Type
Description

column

Returns: Boolean. true if the given column is in the collection; otherwise, false.

Determines whether the collection contains the given DataGridViewColumn.

Parameter
Type
Description

name

The name of the column to look for.

Returns: Boolean. true if the given column is in the collection; otherwise, false.

Copies the items from the collection to the given array.

Parameter
Type
Description

array

index

The index of the destination array at which to start copying.

Returns the number of columns that match the includeFilter .

Parameter
Type
Description

includeFilter

Returns: Int32. The number of columns that match the filter.

Throws:

  • ArgumentExceptionincludeFilter is not a valid combination of DataGridViewElementStates values.

Returns the width, in pixels, required to display all of the columns that meet the includeFilter .

Parameter
Type
Description

includeFilter

Returns: Int32. The width, in pixels, that is necessary to display all of the columns that match the filter.

Throws:

  • ArgumentExceptionincludeFilter is not a valid combination of DataGridViewElementStates values.

Returns the first DataGridViewColumn in display order that matches the includeFilter and excludeFilter .

Parameter
Type
Description

Returns: DataGridViewColumn. The first DataGridViewColumn in display order that matches the given filters, or null if no column is found.

Throws:

  • ArgumentException At least one of the filter values is not a valid combination of DataGridViewElementStates values.

Returns the last DataGridViewColumn in display order that matches the includeFilter and excludeFilter .

Parameter
Type
Description

Returns: DataGridViewColumn. The last displayed DataGridViewColumn in display order that matches the specified filters, or null if no column is found.

Throws:

  • ArgumentException At least one of the filter values is not a valid combination of DataGridViewElementStates values.

Returns the first DataGridViewColumn after the given column in display order that matches the includeFilter and excludeFilter .

Parameter
Type
Description

startColumn

The column from which to start searching for the next column.

Returns: DataGridViewColumn. The next DataGridViewColumn that matches the filters, or null if no column is found.

Throws:

  • ArgumentNullExceptionstartColumn is null.

  • ArgumentException At least one of the filter values is not a valid combination of DataGridViewElementStates values.

Returns the last DataGridViewColumn prior to the given column in display order that matches the includeFilter and excludeFilter .

Parameter
Type
Description

startColumn

The column from which to start searching for the previous column.

Returns: DataGridViewColumn. The previous column that matches the given filters, or null if no column is found.

Throws:

  • ArgumentNullExceptionstartColumn is null.

  • ArgumentException At least one of the filter values is not a valid combination of DataGridViewElementStates values.

Returns the index of the given DataGridViewColumn in the collection.

Parameter
Type
Description

column

Returns: Int32. The index of the given DataGridViewColumn.

Returns the index of the DataGridViewColumn with the specified name from the collection.

Parameter
Type
Description

name

The name of the column to find.

Returns: Int32. The index of the given DataGridViewColumn.

Throws:

  • ArgumentNullExceptionname is null.

Inserts a DataGridViewColumn at the given index in the collection.

Parameter
Type
Description

index

The zero-based index at which to insert the given column.

column

Throws:

  • ArgumentNullExceptioncolumn is null.

  • InvalidOperationException The associated DataGridView control is performing one of the following actions that temporarily prevents new columns from being added:

  • Selecting all cells in the control

  • Clearing the selection

  • Updating a column's DisplayIndex property value or this method is being called from a handler for one of the following DataGridView events:

  • CellEnter

  • CellLeave

  • CellValidating

  • CellValidated

  • RowEnter

  • RowLeave

  • RowValidated

  • RowValidating

or column already belongs to a DataGridView control; or the column 's SortMode property value is Automatic and the SelectionMode property value is FullColumnSelect or ColumnHeaderSelect. Use the control's BeginInit and EndInit methods to temporarily set conflicting property values; or the column 's InheritedAutoSizeMode property value is ColumnHeader and the ColumnHeadersVisible property value is false; or column has an InheritedAutoSizeMode property value of Fill and a Frozen property value of true; or column has DisplayIndex and Frozen property values that would display it among a set of adjacent columns with the opposite Frozen property value; or the DataGridView control contains at least one row and column has a CellType property value of null.

Fires the CollectionChanged event.

Parameter
Type
Description

action

element

The element that was added or removed from the collection, or null.

Removes the specified DataGridViewColumn from the collection.

Parameter
Type
Description

column

The column to delete.

Throws:

  • ArgumentExceptioncolumn is not in the collection.

  • ArgumentNullExceptioncolumn is null.

  • InvalidOperationException The associated DataGridView control is performing one of the following actions that temporarily prevents new columns from being added:

  • Selecting all cells in the control

  • Clearing the selection

  • Updating a column's DisplayIndex property value or this method is being called from a handler for one of the following DataGridView events:

  • CellEnter

  • CellLeave

  • CellValidating

  • CellValidated

  • RowEnter

  • RowLeave

  • RowValidated

  • RowValidating

Removes the DataGridViewColumn with the specified name from the collection.

Parameter
Type
Description

name

The name of the column to delete.

Throws:

  • ArgumentExceptionname does not match the name of any column in the collection.

  • ArgumentNullExceptionname is null.

  • InvalidOperationException The associated DataGridView control is performing one of the following actions that temporarily prevents new columns from being added:

  • Selecting all cells in the control

  • Clearing the selection

  • Updating a column's DisplayIndex property value or this method is being called from a handler for one of the following DataGridView events:

  • CellEnter

  • CellLeave

  • CellValidating

  • CellValidated

  • RowEnter

  • RowLeave

  • RowValidated

  • RowValidating

Removes the DataGridViewColumn at the given index in the collection.

Parameter
Type
Description

index

The index of the column to delete.

Throws:

  • ArgumentOutOfRangeExceptionindex is less than zero or greater than the number of columns in the control minus one.

  • InvalidOperationException The associated DataGridView control is performing one of the following actions that temporarily prevents new columns from being added:

  • Selecting all cells in the control

  • Clearing the selection

  • Updating a column's DisplayIndex property value or this method is being called from a handler for one of the following DataGridView events:

  • CellEnter

  • CellLeave

  • CellValidating

  • CellValidated

  • RowEnter

  • RowLeave

  • RowValidated

  • RowValidating

Moves the specified column to the new newIndex .

Parameter
Type
Description

column

Column to move to the new newIndex .

newIndex

New index and display index of the column .

This method updates both the column's index in the column collection and the display index without firing the ColumnDisplayIndexChanged event.

Events

CollectionChangeEventHandler Fired when the collection changes.

The that created this collection.

Item(name)

List

Add(column)

The to add.

Add(name)

Add(name, valueType)

The of the values in the cells.

Add(name, caption)

Add(name, caption, valueType)

The of the values in the cells.

AddRange(newColumns)

An array of objects to add.

Clear()

Clear(dispose)

Contains(column)

The to look for.

Contains(name)

CopyTo(array, index)

The destination array.

GetColumnCount(includeFilter)

A combination of the values for inclusion.

GetColumnsWidth(includeFilter)

A combination of the values for inclusion.

GetFirstColumn(includeFilter, excludeFilter)

includeFilter

A combination of the values for inclusion.

excludeFilter

A combination of the values for exclusion.

GetLastColumn(includeFilter, excludeFilter)

includeFilter

A combination of the values for inclusion.

excludeFilter

A combination of the values for exclusion.

GetNextColumn(startColumn, includeFilter, excludeFilter)

includeFilter

A combination of the values for inclusion.

excludeFilter

A combination of the values for exclusion.

GetPreviousColumn(startColumn, includeFilter, excludeFilter)

includeFilter

A combination of the values for inclusion.

excludeFilter

A combination of the values for exclusion.

IndexOf(column)

The to return the index of.

IndexOf(name)

Insert(index, column)

The to insert.

OnCollectionChanged(action, element)

One of indicating the reason the collection has changed.

Remove(column)

Remove(name)

RemoveAt(index)

SetColumnIndex(column, newIndex)

CollectionChanged

DataGridView
DataGridView
DataGridViewColumn
DataGridViewColumn
String
String
Type
Type
String
String
String
String
Type
Type
DataGridViewColumn[]
DataGridViewColumn
Boolean
DataGridViewColumn
DataGridViewColumn
String
DataGridViewColumn[]
DataGridViewColumn
Int32
DataGridViewElementStates
DataGridViewElementStates
DataGridViewElementStates
DataGridViewElementStates
DataGridViewElementStates
DataGridViewElementStates
DataGridViewElementStates
DataGridViewElementStates
DataGridViewElementStates
DataGridViewElementStates
DataGridViewElementStates
DataGridViewElementStates
DataGridViewColumn
DataGridViewElementStates
DataGridViewElementStates
DataGridViewElementStates
DataGridViewElementStates
DataGridViewColumn
DataGridViewElementStates
DataGridViewElementStates
DataGridViewElementStates
DataGridViewElementStates
DataGridViewColumn
DataGridViewColumn
String
Int32
DataGridViewColumn
DataGridViewColumn
CollectionChangeAction
CollectionChangeAction
Object
DataGridViewColumn
String
Int32
DataGridViewColumn
Int32