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
  • DataGridView()
  • DataGridView(dataSource, onCellClick)
  • DataGridView(location, size)
  • Properties
  • AllowSortingDataSource
  • AllowUserToAddRows
  • AllowUserToDeleteRows
  • AllowUserToOrderColumns
  • AllowUserToResizeColumns
  • AllowUserToResizeRows
  • AutoGenerateColumns
  • AutoGenerateColumnsDefault
  • AutoSelectFirstRow
  • AutoSelectFirstRowDefault
  • AutoSize
  • AutoSizeColumnsMode
  • AutoSizeRowsMode
  • BlockSize
  • BorderStyle
  • CellBorderStyle
  • ClientArea
  • ClipboardCopyMode
  • ColumnCount
  • ColumnHeadersBorderStyle
  • ColumnHeadersDefaultCellStyle
  • ColumnHeadersHeight
  • ColumnHeadersHeightSizeMode
  • ColumnHeadersVisible
  • Columns
  • CurrentCell
  • CurrentCellAddress
  • CurrentRow
  • DataMember
  • DataSource
  • DefaultCellStyle
  • DefaultRowHeight
  • DefaultSortMode
  • EditingControl
  • EditMode
  • FirstDisplayedCell
  • FirstDisplayedColumnIndex
  • FirstDisplayedRowIndex
  • HorizontalScrollingOffset
  • HScroll
  • Indent
  • IsCurrentCellDirty
  • IsCurrentCellInEditMode
  • IsCurrentRowDirty
  • Item(columnIndex, rowIndex)
  • Item(columnName, rowIndex)
  • Item(column, rowIndex)
  • Item(cellAddress)
  • KeepSameRowHeight
  • LiveResize
  • MaxCachedBlocks
  • MultiSelect
  • NewRowIndex
  • NoDataMessage
  • ReadOnly
  • RightClickSelection
  • RowCount
  • RowHeaderColumn
  • RowHeadersDefaultCellStyle
  • RowHeadersMaximumWidth
  • RowHeadersMinimumWidth
  • RowHeadersVisible
  • RowHeadersWidth
  • RowHeadersWidthSizeMode
  • Rows
  • RowTemplate
  • ScrollBars
  • SelectedCells
  • SelectedColumns
  • SelectedRows
  • SelectionDelay
  • SelectionMode
  • ShowCellErrors
  • ShowCellToolTips
  • ShowColumnVisibilityMenu
  • ShowFocusCell
  • ShowRowErrors
  • SortedColumn
  • SortFrozenRows
  • SortOrder
  • SortSelectionMode
  • StandardReturn
  • StandardTab
  • Tools
  • ToolsPosition
  • TopLeftHeaderCell
  • TreeColumn
  • VirtualMode
  • VisibleRowCount
  • VScroll
  • Methods
  • AddSummaryRows(summaryType, groupCol, summaryCol, style, customSummary)
  • AddSummaryRows(summaryType, summaryPosition, groupCol, summaryCol, style, customSummary)
  • AddSummaryRows(summaryType, groupFromCol, groupToCol, summaryCol, style, customSummary)
  • AddSummaryRows(summaryType, summaryPosition, groupFromCol, groupToCol, summaryCol, style, customSummary)
  • AddSummaryRows(summaryType, groupCol, summaryCol, style, customSummary)
  • AddSummaryRows(summaryType, summaryPosition, groupCol, summaryCol, style, customSummary)
  • AddSummaryRows(summaryType, groupFromCol, groupToCol, summaryCol, style, customSummary)
  • AddSummaryRows(summaryType, summaryPosition, groupFromCol, groupToCol, summaryCol, style, customSummary)
  • Append(data, dataMember)
  • AreAllCellsSelected(includeInvisibleCells)
  • AutoResizeColumn(columnIndex)
  • AutoResizeColumn(columnIndex, extraSpace)
  • AutoResizeColumn(columnIndex, autoSizeMode)
  • AutoResizeColumn(columnIndex, autoSizeMode, extraSpace)
  • AutoResizeColumnHeadersHeight()
  • AutoResizeColumnHeadersHeight(columnIndex)
  • AutoResizeColumns()
  • AutoResizeColumns(extraSpace)
  • AutoResizeColumns(autoSizeMode)
  • AutoResizeColumns(autoSizeMode, extraSpace)
  • AutoResizeRow(rowIndex)
  • AutoResizeRow(rowIndex, extraSpace)
  • AutoResizeRow(rowIndex, autoSizeMode)
  • AutoResizeRow(rowIndex, autoSizeMode, extraSpace)
  • AutoResizeRowHeadersWidth(autoSizeMode)
  • AutoResizeRowHeadersWidth(autoSizeMode, extraSpace)
  • AutoResizeRowHeadersWidth(rowIndex, autoSizeMode)
  • AutoResizeRowHeadersWidth(rowIndex, autoSizeMode, extraSpace)
  • AutoResizeRows()
  • AutoResizeRows(extraSpace)
  • AutoResizeRows(autoSizeMode)
  • BeginEdit(selectAll)
  • BeginUpdate()
  • CancelEdit()
  • CanSort(sortColumn)
  • ClearSelection()
  • CommitEdit()
  • CreateDataBoundColumn(property, name)
  • CreateDataGridViewColumnFromType(type)
  • CreateSummaryRow(group, summaryPosition, groupFromCol, groupToCol, style)
  • Dispose(disposing)
  • EndEdit()
  • EndUpdate()
  • Fill(data, dataMember)
  • GetClipboardContent()
  • GetCommand(columnIndex, rowIndex)
  • GetCommand(cellAddress)
  • GetCommand(column, rowIndex)
  • GetCommand(columnName, rowIndex)
  • GetFormattedValue(columnIndex, rowIndex)
  • GetFormattedValue(column, rowIndex)
  • GetFormattedValue(columnName, rowIndex)
  • GetRowState(rowIndex)
  • GetValue(columnIndex, rowIndex)
  • GetValue(cellAddress)
  • GetValue(column, rowIndex)
  • GetValue(columnName, rowIndex)
  • HitTest(x, y)
  • HitTest(position)
  • IsCellEditable(cell)
  • IsCellEditable(colIndex, rowIndex)
  • IsCellEditable(cellAddress)
  • IsCellVisible(cell)
  • IsCellVisible(colIndex, rowIndex)
  • IsCellVisible(cellAddress)
  • IsValidCell(cellAddress)
  • IsValidCell(colIndex, rowIndex)
  • IsValidColumn(colIndex)
  • IsValidRow(rowIndex)
  • NotifyCurrentCellDirty(dirty)
  • OnAddReferences(items)
  • OnAllowUserToAddRowsChanged(e)
  • OnAllowUserToDeleteRowsChanged(e)
  • OnAllowUserToOrderColumnsChanged(e)
  • OnAllowUserToResizeColumnsChanged(e)
  • OnAllowUserToResizeRowsChanged(e)
  • OnAutoGenerateColumnsChanged(e)
  • OnBindingContextChanged(e)
  • OnCellBeginEdit(e)
  • OnCellClick(e)
  • OnCellCommandChanged(e)
  • OnCellCommandNeeded(e)
  • OnCellCommandPushed(e)
  • OnCellContextMenuNeeded(e)
  • OnCellDoubleClick(e)
  • OnCellEndEdit(e)
  • OnCellEnter(e)
  • OnCellErrorTextChanged(e)
  • OnCellErrorTextNeeded(e)
  • OnCellFormatting(e)
  • OnCellLeave(e)
  • OnCellMouseClick(e)
  • OnCellMouseDoubleClick(e)
  • OnCellMouseDown(e)
  • OnCellMouseEnter(e)
  • OnCellMouseLeave(e)
  • OnCellMouseMove(e)
  • OnCellMouseUp(e)
  • OnCellPaint(e)
  • OnCellParsing(e)
  • OnCellStateChanged(e)
  • OnCellStyleChanged(e)
  • OnCellStyleContentChanged(e)
  • OnCellToolClick(e)
  • OnCellToolTipTextChanged(e)
  • OnCellToolTipTextNeeded(e)
  • OnCellValidated(e)
  • OnCellValidating(e)
  • OnCellValueChanged(e)
  • OnCellValueNeeded(e)
  • OnCellValuePushed(e)
  • OnColumnAdded(e)
  • OnColumnDisplayIndexChanged(e)
  • OnColumnFillWeightChanged(e)
  • OnColumnHeaderMouseClick(e)
  • OnColumnHeaderMouseDoubleClick(e)
  • OnColumnHeadersHeightChanged(e)
  • OnColumnMaximumWidthChanged(e)
  • OnColumnMinimumWidthChanged(e)
  • OnColumnNameChanged(e)
  • OnColumnRemoved(e)
  • OnColumnSortModeChanged(e)
  • OnColumnStateChanged(e)
  • OnColumnWidthChanged(e)
  • OnControlAdded(e)
  • OnControlCreated(e)
  • OnControlRemoved(e)
  • OnCurrentCellChanged(e)
  • OnDataBindingComplete(e)
  • OnDataError(e)
  • OnDataError(displayErrorIfNoHandler, e)
  • OnDataMemberChanged(e)
  • OnDataRead(e)
  • OnDataSourceChanged(e)
  • OnDataUpdated(e)
  • OnDefaultCellStyleChanged(e)
  • OnDefaultRowHeightChanged(e)
  • OnDefaultValuesNeeded(e)
  • OnEditingControlShowing(e)
  • OnEditModeChanged(e)
  • OnEnter(e)
  • OnKeyDown(e)
  • OnLastCellTab(e)
  • OnLeave(e)
  • OnMouseUp(e)
  • OnMultiSelectChanged(e)
  • OnNewRowNeeded(e)
  • OnReadOnlyChanged(e)
  • OnRowCollapsed(e)
  • OnRowEnter(e)
  • OnRowErrorTextChanged(e)
  • OnRowErrorTextNeeded(e)
  • OnRowExpanded(e)
  • OnRowHeaderMouseClick(e)
  • OnRowHeaderMouseDoubleClick(e)
  • OnRowHeadersWidthChanged(e)
  • OnRowHeightChanged(e)
  • OnRowHeightInfoNeeded(e)
  • OnRowLeave(e)
  • OnRowMaximumHeightChanged(e)
  • OnRowMinimumHeightChanged(e)
  • OnRowsAdded(e)
  • OnRowsRemoved(e)
  • OnRowStateChanged(e)
  • OnRowValidated(e)
  • OnRowValidating(e)
  • OnScroll(e)
  • OnSelectionChanged(e)
  • OnSortCompare(e)
  • OnSorted(e)
  • OnToolClick(e)
  • OnTopLeftHeaderClick(e)
  • OnUserAddedRow(e)
  • OnUserDeletedRow(e)
  • OnUserDeletingRow(e)
  • OnValidating(e)
  • OnWebDataCount()
  • OnWebDataRead(firstIndex, lastIndex, sortDirection, sortIndex)
  • OnWebEvent(e)
  • OnWebRender(config)
  • OnWebUpdate(state)
  • ProcessDialogKey(keyData)
  • Refresh()
  • Refresh(refreshChildren)
  • RemoveSummaryRows(groupFromCol)
  • RemoveSummaryRows(groupFromCol, groupToCol)
  • RemoveSummaryRows(summaryPosition, groupFromCol)
  • RemoveSummaryRows(summaryPosition, groupFromCol, groupToCol)
  • RemoveSummaryRows(summaryPosition, groupFromCol, groupToCol)
  • RemoveSummaryRows()
  • RemoveSummaryRows(summaryPosition)
  • RemoveSummaryRows(groupFromCol)
  • RemoveSummaryRows(groupFromCol, groupToCol)
  • ScrollCellIntoView(cell)
  • ScrollCellIntoView(cell, alignX, alignY)
  • ScrollCellIntoView(cellAddress)
  • ScrollCellIntoView(cellAddress, alignX, alignY)
  • ScrollCellIntoView(columnIndex, rowIndex)
  • ScrollCellIntoView(columnIndex, rowIndex, alignX, alignY)
  • ScrollColumnIntoView(columnIndex)
  • ScrollColumnIntoView(columnIndex, alignX)
  • ScrollColumnIntoView(column)
  • ScrollColumnIntoView(column, alignX)
  • ScrollRowIntoView(rowIndex)
  • ScrollRowIntoView(rowIndex, alignY)
  • ScrollRowIntoView(row)
  • ScrollRowIntoView(row, alignY)
  • SelectAll()
  • SelectAllCells()
  • SelectAllColumns()
  • SelectAllRows()
  • SelectCell(cellAddress)
  • SelectCell(columnIndex, rowIndex)
  • SetCommand(columnIndex, rowIndex, command)
  • SetCommand(cellAddress, command)
  • SetCommand(columnName, rowIndex, command)
  • SetCommand(column, rowIndex, command)
  • SetCurrentCell(cellAddress)
  • SetCurrentCell(columnIndex, rowIndex)
  • SetRowState(rowIndex, state)
  • SetRowState(rowIndex, state, on)
  • SetValue(columnIndex, rowIndex, value)
  • SetValue(cellAddress, value)
  • SetValue(columnName, rowIndex, value)
  • SetValue(column, rowIndex, value)
  • Sort(comparer)
  • Sort(column, direction)
  • Update()
  • Events
  • AllowUserToAddRowsChanged
  • AllowUserToDeleteRowsChanged
  • AllowUserToOrderColumnsChanged
  • AllowUserToResizeColumnsChanged
  • AllowUserToResizeRowsChanged
  • CellBeginEdit
  • CellClick
  • CellCommandChanged
  • CellCommandNeeded
  • CellCommandPushed
  • CellContextMenuNeeded
  • CellDoubleClick
  • CellEndEdit
  • CellEnter
  • CellErrorTextChanged
  • CellErrorTextNeeded
  • CellFormatting
  • CellLeave
  • CellMouseClick
  • CellMouseDoubleClick
  • CellMouseDown
  • CellMouseEnter
  • CellMouseLeave
  • CellMouseMove
  • CellMouseUp
  • CellPaint
  • CellParsing
  • CellStateChanged
  • CellStyleChanged
  • CellStyleContentChanged
  • CellToolClick
  • CellToolTipTextChanged
  • CellToolTipTextNeeded
  • CellValidated
  • CellValidating
  • CellValueChanged
  • CellValueNeeded
  • CellValuePushed
  • ColumnAdded
  • ColumnDisplayIndexChanged
  • ColumnFillWeightChanged
  • ColumnHeaderMouseClick
  • ColumnHeaderMouseDoubleClick
  • ColumnHeadersHeightChanged
  • ColumnMaximumWidthChanged
  • ColumnMinimumWidthChanged
  • ColumnNameChanged
  • ColumnRemoved
  • ColumnSortModeChanged
  • ColumnStateChanged
  • ColumnWidthChanged
  • CurrentCellChanged
  • DataBindingComplete
  • DataError
  • DataMemberChanged
  • DataRead
  • DataSourceChanged
  • DataUpdated
  • DefaultRowHeightChanged
  • DefaultValuesNeeded
  • EditingControlShowing
  • EditModeChanged
  • KeepSameRowHeightChanged
  • LastCellTab
  • LiveResizeChanged
  • MultiSelectChanged
  • NewRowNeeded
  • ReadOnlyChanged
  • RowCollapsed
  • RowEnter
  • RowErrorTextChanged
  • RowErrorTextNeeded
  • RowExpanded
  • RowHeaderMouseClick
  • RowHeaderMouseDoubleClick
  • RowHeadersWidthChanged
  • RowHeightChanged
  • RowHeightInfoNeeded
  • RowLeave
  • RowMaximumHeightChanged
  • RowMinimumHeightChanged
  • RowsAdded
  • RowsRemoved
  • RowStateChanged
  • RowValidated
  • RowValidating
  • Scroll
  • SelectionChanged
  • ShowColumnVisibilityMenuChanged
  • SortCompare
  • Sorted
  • StandardReturnChanged
  • StandardTabChanged
  • ToolClick
  • TopLeftHeaderClick
  • UserAddedRow
  • UserDeletedRow
  • UserDeletingRow
  • Implements

Was this helpful?

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

DataGridView

Wisej.Web.DataGridView

Last updated 1 month ago

Was this helpful?

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

  • Control

    • DataGridView

Represents a data grid control.

public class DataGridView : Control, ISupportInitialize, IWisejDataStore, IWisejHandler, IReadOnly
Public Class DataGridView
    Inherits Control
    Implements ISupportInitialize, IWisejDataStore, IWisejHandler, IReadOnly

Constructors

DataGridView()

Initializes a new instance of the DataGridView class.

DataGridView(dataSource, onCellClick)

Initializes a new instance of the DataGridView class with a specified data source and an event handler for the CellClick event.

Name
Type
Description

dataSource

onCellClick

An Action delegate to handle the CellClick event. Can be null.

DataGridView(location, size)

Initializes a new instance of the DataGridView class with a specified location and size.

Name
Type
Description

location

size

Properties

Boolean: Returns or sets whether the DataGridView can automatically sort rows in the DataSource when the data is in an IList object. (Default: True)

When the DataGridView is data-bound, sorting is delegated to the DataSource when it supports sorting (see SupportsSorting). Otherwise, if the data is in an IList object and AllowSortingDataSource is true, Wisej swaps the rows in the data source. This behavior is different than WinForms, where sorting of the data source is always delegated to the data source and is otherwise ignored. Setting AllowSortingDataSource to false reverts to the same behavior as in WinForms.

Boolean: Returns or sets whether the user can add new rows. (Default: False)

Boolean: Returns or sets whether the user is allowed to delete rows from the DataGridView. (Default: False)

Boolean: Returns or sets whether manual column repositioning is enabled. (Default: False)

Boolean: Returns or sets whether users can resize columns. (Default: True)

Boolean: Returns or sets whether users can resize rows. (Default: True)

Boolean: Returns or sets whether columns are created automatically when the DataSource or DataMember properties are set. (Default: True)

You can change the default value across the application using the AutoGenerateColumnsDefault property or related AppContext switch.

Boolean: Default value for the AutoGenerateColumns property.Since 3.5.6 (Default: True)

The default is true. You can set the value by code or using AppContext switches: AppContext.SetSwitch("DataGridViewAutoGenerateColumns", false);

Boolean: Returns or sets whether the first row or cell, depending on SelectionMode, is automatically selected when the grid is populated.Since 3.5.6 (Default: True)

You can change the default value across the application using the AutoSelectFirstRowDefault property or related AppContext switch.

Boolean: EXPERIMENTAL: Default value for the AutoSelectFirstRow property.Since 3.5.6 (Default: True)

The default is true. You can set the value by code or using AppContext switches: AppContext.SetSwitch("DataGridViewAutoSelectFirstRow", false);

Boolean: Returns or sets a value that indicates whether the control resizes based on its contents. (Default: False)

DataGridViewAutoSizeColumnsMode: Returns or sets a value indicating how column widths are determined. (Default: None)

DataGridViewAutoSizeRowsMode: Returns or sets a value indicating how row heights are determined. (Default: None)

Throws:

  • InvalidOperationException The specified value when setting this property is RowHeader and row headers are hidden.

Int32: Number of rows stored in a cache block. Determines the number of rows requested by the client when scrolling the grid.

It's better not to touch this value unless you know what you are doing.

BorderStyle: Returns or sets the border style for the DataGridView. (Default: Solid)

DataGridViewCellBorderStyle: Returns or sets the cell border style for the DataGridView control. (Default: Both)

Rectangle: Returns the client rectangle excluding the non-client caption and borders dimensions.

DataGridViewClipboardCopyMode: Returns or sets a value that indicates whether users can copy cell text values to the Clipboard and whether row and column header text is included. (Default: EnableWithAutoHeaderText)

Int32: Returns or sets the number of columns displayed in the DataGridView. (Default: 0)

Throws:

  • ArgumentOutOfRangeException The specified value when setting this property is less than 0.

  • InvalidOperationException When setting this property, the DataSource property has been set.

DataGridViewCellBorderStyle: Returns or sets the border style for the column headers in the DataGridView control. (Default: Both)

DataGridViewCellStyle: Returns or sets the default column header style.

Int32: Returns or sets the height, in pixels, of the column headers row.

Throws:

  • ArgumentOutOfRangeException The specified value when setting this property is less than the minimum height of 4 pixels or is greater than the maximum height of 32768 pixels.

DataGridViewColumnHeadersHeightSizeMode: Returns or sets whether the height of the column headers is adjustable and whether it can be adjusted by the user or is automatically adjusted to fit the contents of the headers.Since 3.0.13 (Default: DisableResizing)

Boolean: Returns or sets whether the column header row is displayed. (Default: True)

Throws:

  • InvalidOperationException The specified value when setting this property is false and one or more columns have an InheritedAutoSizeMode property value of ColumnHeader.

DataGridViewColumnCollection: Returns a collection that contains all the columns in the control.

DataGridViewCell: Returns or sets the currently active cell.

Throws:

  • InvalidOperationException The value of this property cannot be set because changes to the current cell cannot be committed or canceled. Or the specified cell when setting this property is in a hidden row or column. Re-entrant calling is only allowed when the DataGridView is bound to a DataSource. Re-entrant calling results from a change to the underlying data.

  • ArgumentException The specified cell when setting this property is not in the DataGridView.

Point: Returns the row and column indexes of the currently active cell.

DataGridViewRow: Returns the row containing the current cell.

String: Returns or sets the name of the list or table in the data source for which the DataGridView is displaying data. (Default: "")

Throws:

  • Exception An error occurred in the data source and either there is no handler for the DataError event or the handler has set the ThrowException property to true. The exception object can typically be cast to type FormatException.

Object: Returns or sets the data source that the DataGridView is displaying data for. (Default: null)

Throws:

  • Exception An error occurred in the data source and either there is no handler for the DataError event or the handler has set the ThrowException property to true. The exception object can typically be cast to type FormatException.

DataGridViewCellStyle: Returns or sets the default cell style to be applied to the cells in the DataGridView if no other cell style properties are set.

Int32: Returns or sets the default row height.

DataGridViewColumnsSortMode: Returns or sets the default SortMode for all columns when the property SortMode is set to NotSet (default). (Default: Automatic)

Control: Returns the control hosted by the current cell, if a cell with an editing control is in edit mode.

DataGridViewEditMode: Returns or sets a value indicating how to begin editing a cell. (Default: EditOnKeystrokeOrF2)

Throws:

  • Exception The specified value when setting this property would cause the control to enter edit mode, but initialization of the editing cell value failed and either there is no handler for the DataError event or the handler has set the ThrowException property to true. The exception object can typically be cast to type FormatException.

DataGridViewCell: Returns the first cell currently displayed in the DataGridView in the upper left corner.

Int32: Returns the index of the column that is the first non-frozen column displayed on the DataGridView.

Throws:

  • ArgumentOutOfRangeException The specified value when setting this property is less than 0 or greater than the number of columns in the control minus 1.

  • InvalidOperationException The specified value when setting this property indicates a column with a Visible property value of false. Or the specified value when setting this property indicates a column with a Frozen property value of true.

Int32: Returns the index of the row that is the first row displayed on the DataGridView.

Throws:

  • ArgumentOutOfRangeException The specified value when setting this property is less than 0 or greater than the number of rows in the control minus 1.

  • InvalidOperationException The specified value when setting this property indicates a row with a Visible property value of false. Or the specified value when setting this property indicates a column with a Frozen property value of true.

Int32: Returns the number of pixels by which the control is scrolled horizontally.

Boolean: Returns whether the horizontal scroll bar is visible.

Int32: Returns or sets the distance in pixels to indent each child row node level. (Default: -1)

Throws:

  • ArgumentOutOfRangeException The assigned value is less than 0 (see Remarks); or the assigned value is greater than 500.

Boolean: Returns a value indicating whether the current cell has uncommitted changes.

Boolean: Returns a value indicating whether the currently active cell is being edited.

Boolean: Returns a value indicating whether the current row has uncommitted changes.

DataGridViewCell: Returns or set the cell located in the specified column and at the specified row.

Throws:

  • ArgumentOutOfRangeExceptioncolumnIndex is less than 0 or greater than the number of columns in the control minus 1; or rowIndex is less than 0 or greater than the number of rows in the control minus 1.

DataGridViewCell: Returns or set the cell located in the specified column and at the specified row.

DataGridViewCell: Returns or set the cell located in the specified column and at the specified row.

DataGridViewCell: Returns or set the cell located in the specified location.

Boolean: Returns or sets whether the rows are always of the same height. (Default: False)

Boolean: Returns or sets whether the column and row resizing should be live: updated as the user resizes the row or the column. (Default: False)

Int32: Maximum number of blocks kept in the client cache.

It's better not to touch this value unless you know what you are doing.

Boolean: Returns or sets whether the user is allowed to select more than one cell, row, or column of the DataGridView at a time. (Default: True)

Int32: Returns the index of the row for new records.

String: Returns or sets an HTML string that is displayed when the DataGridView doesn't contain any row. (Default: "")

Boolean: Returns or sets whether the user can edit the cells of the DataGridView control. (Default: False)

Throws:

  • InvalidOperationException The specified value when setting this property is true, the current cell is in edit mode, and the current cell contains changes that cannot be committed.

  • Exception The specified value when setting this property would cause the control to enter edit mode, but initialization of the editing cell value failed and either there is no handler for the DataError event or the handler has set the ThrowException property to true. The exception object can typically be cast to type FormatException.

Boolean: Returns or sets whether the row under the pointer gets selected on a right click. (Default: False)

When the right click lands outside of a selected area the selection is not changed regardless of the value of RightClickSelection.

Int32: Returns or sets the number of rows displayed in the DataGridView. (Default: 0)

Throws:

  • ArgumentException The specified value when setting this property is less than 0 or less than 1 and AllowUserToAddRows is set to true.

  • InvalidOperationException When setting this property, the DataSource property is set.

DataGridViewColumn: Returns the DataGridViewColumn for the row headers.

Use this DataGridViewColumn to set the style and other properties for all the row headers.

DataGridViewCellStyle: Returns or sets the default style applied to the row header cells.

Int32: Returns or sets the minimum width, in pixels, of the column that contains the row headers.

Throws:

  • ArgumentOutOfRangeException The value is less than the minimum width of 2 pixels or is greater than the maximum width of 32000 pixels.

Int32: Returns or sets the minimum width, in pixels, of the column that contains the row headers.

Throws:

  • ArgumentOutOfRangeException The value is less than the minimum width of 2 pixels or is greater than the maximum width of 2000 pixels.

Boolean: Returns or sets whether the column that contains row headers is displayed. (Default: True)

Int32: Returns or sets the width, in pixels, of the column that contains the row headers.

Throws:

  • ArgumentOutOfRangeException The value is less than the minimum width of 2 pixels or is greater than the maximum width of 2000 pixels.

DataGridViewRowHeadersWidthSizeMode: Returns or sets whether the width of the row headers is adjustable and whether it can be adjusted by the user or is automatically adjusted to fit the contents of the headers. (Default: EnableResizing)

DataGridViewRowCollection: Returns a collection that contains all the rows in the DataGridView control.

DataGridViewRow: Returns or sets the row that represents the template for all the rows in the control.

Throws:

  • InvalidOperationException The specified row when setting this property has its DataGridView property set.

ScrollBars: Returns or sets the type of scroll bars to display for the DataGridView control. (Default: Both)

DataGridViewSelectedCellCollection: Returns the collection of selected cells.

DataGridViewSelectedColumnCollection: Returns the collection of selected columns.

DataGridViewSelectedRowCollection: Returns the collection of selected rows.

Int32: Milliseconds to wait before sending selection events to the server. (Default: 150)

Use this property to avoid flooding the server with selection change events when users quickly select rows in a data-bound DataGridView that triggers other data-bounds controls to get updated.Throws:

  • ArgumentOutOfRangeException When the value is less than 0 or greater than 10000 (10 seconds).

DataGridViewSelectionMode: Returns or sets a value indicating how the cells of the DataGridView can be selected. (Default: FullRowSelect)

Boolean: Returns or sets whether cells will display an error glyphs for each cell that contains a data entry error. (Default: True)

Boolean: Returns or sets whether or not ToolTips will show when the mouse pointer pauses on a cell. (Default: True)

Boolean: Returns or sets whether the column visibility menu button is visible. (Default: True)

Boolean: Returns or sets a value indicating whether the DataGridView widget highlights the currently focused cell. (Default: True)

Boolean: Returns or sets whether row headers will display an error glyphs for each row that contains a data entry error. (Default: True)

DataGridViewColumn: Returns the column by which the DataGridView contents are currently sorted.

Boolean: Returns or sets whether frozen rows should be sorted when sorting a column. (Default: True)

SortOrder: Returns a value indicating whether the items in the DataGridView control are sorted in ascending or descending order, or are not sorted.

DataGridViewSortSelectionMode: Returns or sets a value indicating how the DataGridView updates the selection of rows and cells when it's sorted. (Default: UpdatePosition)

The selection is always cleared when sorting a data-bound DataGridView or when the grid contains hierarchical rows.

Boolean: EXPERIMENTAL: Returns or sets whether the RETURN (Enter) key moves the focus to the cell below the current cell, rather than entering edit mode. (Default: False)

WinForms standard behavior corresponds to StandardReturn set to true.

Boolean: Returns or sets whether the TAB key moves the focus to the next control in the tab order rather than moving focus to the next cell. (Default: False)

ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.

Position: Returns or sets the position of the ComponentTool items associated with this control. (Default: Top)

DataGridViewColumnHeaderCell: Returns or sets the header cell located in the upper left corner of the DataGridView control.

DataGridViewColumn: Returns or sets the column that displays the node open/close tree icons.

By default the DataGridView shows the open/close tree icons on the first visible and non-frozen column.

Boolean: Returns or sets whether you have provided your own data-management operations for the DataGridView control. (Default: False)

Int32: Returns the total number of visible rows currently displayed.

Boolean: Returns whether the vertical scroll bar is visible.

Methods

Creates or updates a DataGridViewSummaryRow for each group limited by the values in column groupCol .

Parameter
Type
Description

summaryType

Determines the aggregation type.

groupCol

Name of the column that determines the group break values.

summaryCol

name of the column to aggregate.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Creates or updates a DataGridViewSummaryRow for each group limited by the values in column groupCol .

Parameter
Type
Description

summaryType

Determines the aggregation type.

summaryPosition

groupCol

Name of the column that determines the group break values.

summaryCol

Name of the column to aggregate.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Creates or updates a DataGridViewSummaryRow for each group limited by the values in the columns from groupFromCol to groupToCol .

Parameter
Type
Description

summaryType

Determines the aggregation type.

groupFromCol

Name of the first column that determines the group break values.

groupToCol

Name of the last column that determines the group break values.

summaryCol

Name of the column to aggregate.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Creates or updates a DataGridViewSummaryRow for each group limited by the values in the columns from groupFromCol to groupToCol .

Parameter
Type
Description

summaryType

Determines the aggregation type.

summaryPosition

groupFromCol

Name of the first column that determines the group break values.

groupToCol

Name of the last column that determines the group break values.

summaryCol

Name of the column to aggregate.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Creates or updates a DataGridViewSummaryRow for each group limited by the values in columns groupCol .

Parameter
Type
Description

summaryType

Determines the aggregation type.

groupCol

Column that determines the group break values.

summaryCol

Column to aggregate.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Creates or updates a DataGridViewSummaryRow for each group limited by the values in columns groupCol .

Parameter
Type
Description

summaryType

Determines the aggregation type.

summaryPosition

groupCol

Column that determines the group break values.

summaryCol

Column to aggregate.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Creates or updates a DataGridViewSummaryRow for each group limited by the values in the columns from groupFromCol to groupToCol .

Parameter
Type
Description

summaryType

Determines the aggregation type.

groupFromCol

First column that determines the group break values.

groupToCol

Last column that determines the group break values.

summaryCol

Column to aggregate.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Creates or updates a DataGridViewSummaryRow for each group limited by the values in the columns from groupFromCol to groupToCol .

Parameter
Type
Description

summaryType

Determines the aggregation type.

summaryPosition

groupFromCol

First column that determines the group break values.

groupToCol

Last column that determines the group break values.

summaryCol

Column to aggregate.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Populates the DataGridView from the data appending the rows to the existing rows.

Parameter
Type
Description

data

Returns: Int32. Numbers of rows appended.

Use this method to fill a DataGridView without binding it to the data source.

Returns whether all the cells are currently selected.

Parameter
Type
Description

includeInvisibleCells

Returns: Boolean. true if all cells (or all visible cells) are selected or if there are no cells (or no visible cells); otherwise, returns false.

Adjusts the width of the column to fit the contents of its cells including the header cell.

Parameter
Type
Description

columnIndex

The index of the column to resize; -1 indicates all columns.

Throws:

  • ArgumentOutOfRangeExceptioncolumnIndex is not in the valid range of -1 (all columns) to the number of columns minus 1.

Adjusts the width of the column to fit the contents of its cells including the header cell.

Parameter
Type
Description

columnIndex

The index of the column to resize; -1 indicates all columns.

extraSpace

Additional space in pixels.

Throws:

  • ArgumentOutOfRangeExceptioncolumnIndex is not in the valid range of -1 (all columns) to the number of columns minus 1.

Adjusts the width of the specified column using the specified size mode.

Parameter
Type
Description

columnIndex

The index of the column to resize; -1 indicates all columns.

autoSizeMode

Throws:

  • InvalidOperationExceptionautoSizeMode has the value ColumnHeader and ColumnHeadersVisible is false.

  • ArgumentExceptionautoSizeMode has the value NotSet, DoubleClick, or Fill.

  • ArgumentOutOfRangeExceptioncolumnIndex is not in the valid range of -1 (all columns) to the number of columns minus 1.

Adjusts the width of the specified column using the specified size mode.

Parameter
Type
Description

columnIndex

The index of the column to resize; -1 indicates all columns.

autoSizeMode

extraSpace

Additional space in pixels.

Throws:

  • InvalidOperationExceptionautoSizeMode has the value ColumnHeader and ColumnHeadersVisible is false.

  • ArgumentExceptionautoSizeMode has the value NotSet, DoubleClick, or Fill.

  • ArgumentOutOfRangeExceptioncolumnIndex is not in the valid range of -1 (all columns) to the number of columns minus 1.

Adjusts the height of the column headers to fit the contents of the largest header.

Adjusts the height of the column headers based on the contents of the header in the specified column.

Parameter
Type
Description

columnIndex

The index of the column to resize; -1 indicates all columns.

Throws:

  • ArgumentOutOfRangeExceptioncolumnIndex is not in the valid range of -1 (all columns) to the number of columns minus 1.

Adjusts the width of all columns to fit the contents of their cells including the header cells.

Adjusts the width of all columns to fit the contents of their cells including the header cells.

Parameter
Type
Description

extraSpace

Additional space in pixels.

Adjusts the width of all columns using the specified size mode.

Parameter
Type
Description

autoSizeMode

Throws:

  • InvalidOperationExceptionautoSizeMode has the value ColumnHeader and ColumnHeadersVisible is false.

  • ArgumentExceptionautoSizeMode has the value DoubleClick or Fill.

Adjusts the width of all columns using the specified size mode.

Parameter
Type
Description

autoSizeMode

extraSpace

Additional space in pixels.

Throws:

  • InvalidOperationExceptionautoSizeMode has the value ColumnHeader and ColumnHeadersVisible is false.

  • ArgumentExceptionautoSizeMode has the value DoubleClick or Fill.

Adjusts the height of the row to fit the contents of all its cells including the header cell.

Parameter
Type
Description

rowIndex

The index of the row to resize.

Throws:

  • ArgumentOutOfRangeExceptionrowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.

Adjusts the height of the row to fit the contents of all its cells including the header cell.

Parameter
Type
Description

rowIndex

The index of the row to resize.

extraSpace

Additional space in pixels.

Throws:

  • ArgumentOutOfRangeExceptionrowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.

Adjusts the height of the row using the specified size mode.

Parameter
Type
Description

rowIndex

The index of the row to resize.

autoSizeMode

Throws:

  • InvalidOperationExceptionautoSizeMode has the value RowHeader and RowHeadersVisible is false.

  • ArgumentOutOfRangeExceptionrowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.

Adjusts the height of the row using the specified size mode.

Parameter
Type
Description

rowIndex

The index of the row to resize.

autoSizeMode

extraSpace

Additional space in pixels.

Throws:

  • InvalidOperationExceptionautoSizeMode has the value RowHeader and RowHeadersVisible is false.

  • ArgumentOutOfRangeExceptionrowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.

Adjusts the width of the row headers using the specified size mode.

Parameter
Type
Description

autoSizeMode

Throws:

  • ArgumentExceptionautoSizeMode has the value EnableResizing or DisableResizing.

Adjusts the width of the row headers using the specified size mode.

Parameter
Type
Description

autoSizeMode

extraSpace

Additional space in pixels.

Throws:

  • ArgumentExceptionautoSizeMode has the value EnableResizing or DisableResizing.

Adjusts the width of the row headers based on the contents of the header in the specified row and using the specified size mode.

Parameter
Type
Description

rowIndex

The index of the row header with the changed content.

autoSizeMode

Throws:

  • ArgumentOutOfRangeExceptionrowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.

  • ArgumentExceptionautoSizeMode has the value EnableResizing or DisableResizing

Adjusts the width of the row headers based on the contents of the header in the specified row and using the specified size mode.

Parameter
Type
Description

rowIndex

The index of the row header with the changed content.

autoSizeMode

extraSpace

Additional space in pixels.

Throws:

  • ArgumentOutOfRangeExceptionrowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.

  • ArgumentExceptionautoSizeMode has the value EnableResizing or DisableResizing

Adjusts the heights of all rows in the client's data cache to fit the contents of all their cells, including the header cells.

Adjusts the heights of all rows in the client's data cache to fit the contents of all their cells, including the header cells.

Parameter
Type
Description

extraSpace

Additional space in pixels.

Adjusts the heights of the rows using the specified size mode.

Parameter
Type
Description

autoSizeMode

Throws:

  • ArgumentExceptionautoSizeMode has the value DoubleClick

  • InvalidOperationExceptionautoSizeMode has the value RowHeader and RowHeadersVisible is false.

Puts the current cell in edit mode.

Parameter
Type
Description

true to select all the cell's contents; false to not select any contents.

Returns: Boolean. true if the current cell is already in edit mode or successfully enters edit mode; otherwise, false.

Throws:

  • InvalidOperationExceptionCurrentCell is not set to a valid cell.

Prevents the control from updating until the EndUpdate method is called.

Cancels edit mode for the currently selected cell and discards any changes.

Returns: Boolean. true if the cancel was successful; otherwise, false.

Returns whether the specified column can be sorted automatically.

Parameter
Type
Description

sortColumn

Column being sorted.

Returns: Boolean. true if the DataGridView should sort the data.

Clears the current selection.

Commits changes to cell without ending edit mode.

Returns: Boolean. true if the changes were committed; otherwise false.

Throws:

  • Exception The cell value could not be committed and either there is no handler for the DataError event or the handler has set the ThrowException property to true.

Creates a new DataGridViewColumn bound to the specified property .

Parameter
Type
Description

property

Property bound this the column being created.

name

Proposes safe name for the new column.

Returns: DataGridViewColumn.

Override this method to manage the automatic creation of data-bound columns. The default implementation calls CreateDataGridViewColumnFromType using the PropertyType to create a compatible column.

Creates a new DataGridViewColumn that matches the data field type.

Parameter
Type
Description

type

Type of the data field that will be displayed in the new column.

Returns: DataGridViewColumn. New DataGridViewColumn compatible with the specified type .

Override this method to manage the automatic creation of data-bound columns.

Invoked by all the AddSummaryRows methods to create a new DataGridViewSummaryRow in relation to the specified group .

Parameter
Type
Description

group

summaryPosition

groupFromCol

groupToCol

style

Returns: DataGridViewSummaryRow.

Override this method to create a custom derived class from DataGridViewSummaryRow.

Disposes the control and all the owned columns.

Parameter
Type
Description

disposing

true when this method is called by the application rather than a finalizer.

Commits and ends the edit operation on the current cell.

Returns: Boolean. true if the edit operation is committed and ended; otherwise, false.

Throws:

  • Exception The cell value could not be committed and either there is no handler for the DataError event or the handler has set the ThrowException property to true.

Resumes updating of the control after it was suspended by the BeginUpdate method.

Populates the DataGridView from the data .

Parameter
Type
Description

data

Returns: Int32. Numbers of rows added.

Use this method to fill a DataGridView without binding it to the data source.

Returns the formatted values that represent the contents of the selected cells for copying to the Clipboard.

Returns: DataObject. A DataObject with the contents of the selected cells.

Throws:

  • NotSupportedExceptionClipboardCopyMode is set to Disable.

Retrieves the command for the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

columnIndex

The index of the column containing the cell.

rowIndex

The index of the row containing the cell.

Returns: ICommand. The object value stored in the cell.

Throws:

  • ArgumentOutOfRangeExceptioncolumnIndex is less than 0 or columnIndex is equal to or greater than the number of cells in the collection.

  • ArgumentOutOfRangeExceptionrowIndex is less than 0.- or - rowIndex is equal to or greater than Count.

Retrieves the command for the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

cellAddress

Row and column index of the cell.

Returns: ICommand. The object value stored in the cell.

Throws:

  • ArgumentOutOfRangeExceptioncellAddress is less than 0 or equal to or greater than the number of row or columns in the collection.

Retrieves the command for the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

column

rowIndex

The index of the row containing the cell.

Returns: ICommand. The object value stored in the cell.

Throws:

  • ArgumentNullExceptioncolumn is null.

  • ArgumentException The specified column does not belong to the same DataGridView that owns the cells.

  • ArgumentOutOfRangeExceptionrowIndex is less than 0.- or - rowIndex is equal to or greater than Count.

Retrieves the command for the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

columnName

rowIndex

The index of the row containing the cell.

Returns: ICommand. The object value stored in the cell.

Throws:

  • ArgumentExceptioncolumnName does not match the name of any columns in the control.

  • ArgumentOutOfRangeExceptionrowIndex is less than 0.- or - rowIndex is equal to or greater than Count.

Retrieves the value for the specified cell, as formatted for display, without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

columnIndex

The index of the column containing the cell.

rowIndex

The index of the row containing the cell.

Returns: Object. The formatted value stored in the cell.

Throws:

  • ArgumentOutOfRangeExceptioncolumnIndex is less than 0 or columnIndex is equal to or greater than the number of cells in the collection.

  • ArgumentOutOfRangeExceptionrowIndex is less than 0.- or - rowIndex is equal to or greater than Count.

Retrieves the value for the specified cell, as formatted for display, without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

column

rowIndex

The index of the row containing the cell.

Returns: Object. The formatted value stored in the cell.

Throws:

  • ArgumentNullExceptioncolumn is null.

  • ArgumentException The specified column does not belong to the same DataGridView that owns the cells.

  • ArgumentOutOfRangeExceptionrowIndex is less than 0.- or - rowIndex is equal to or greater than Count.

Retrieves the value for the specified cell, as formatted for display, without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

columnName

rowIndex

The index of the row containing the cell.

Returns: Object. The formatted value stored in the cell.

Throws:

  • ArgumentExceptioncolumnName does not match the name of any columns in the control.

  • ArgumentOutOfRangeExceptionrowIndex is less than 0.- or - rowIndex is equal to or greater than Count.

Returns the state of the DataGridViewRow at the specified index.

Parameter
Type
Description

rowIndex

The index of the row.

Returns: DataGridViewElementStates. A combination of DataGridViewElementStates values indicating the state of the row.

Throws:

  • ArgumentOutOfRangeExceptionrowIndex is less than zero and greater than the number of rows in the collection.

Retrieves the value for the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

columnIndex

The index of the column containing the cell.

rowIndex

The index of the row containing the cell.

Returns: Object. The object value stored in the cell.

Throws:

  • ArgumentOutOfRangeExceptioncolumnIndex is less than 0 or columnIndex is equal to or greater than the number of cells in the collection.

  • ArgumentOutOfRangeExceptionrowIndex is less than 0.- or - rowIndex is equal to or greater than Count.

Retrieves the value for the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

cellAddress

Row and column index of the cell.

Returns: Object. The object value stored in the cell.

Throws:

  • ArgumentOutOfRangeExceptioncellAddress is less than 0 or equal to or greater than the number of row or columns in the collection.

Retrieves the value for the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

column

rowIndex

The index of the row containing the cell.

Returns: Object. The object value stored in the cell.

Throws:

  • ArgumentNullExceptioncolumn is null.

  • ArgumentException The specified column does not belong to the same DataGridView that owns the cells.

  • ArgumentOutOfRangeExceptionrowIndex is less than 0.- or - rowIndex is equal to or greater than Count.

Retrieves the value for the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

columnName

rowIndex

The index of the row containing the cell.

Returns: Object. The object value stored in the cell.

Throws:

  • ArgumentExceptioncolumnName does not match the name of any columns in the control.

  • ArgumentOutOfRangeExceptionrowIndex is less than 0.- or - rowIndex is equal to or greater than Count.

Returns the column index and row index that contain the specified x, y client coordinates.

Parameter
Type
Description

x

y

Returns: HitTestInfo. A HitTestInfo that contains the column index and row index information.

Returns the column index and row index that contain the specified x, y client coordinates.

Parameter
Type
Description

position

Returns: HitTestInfo. A HitTestInfo that contains the column index and row index information.

Checks if the specified cell can enter edit mode.

Parameter
Type
Description

cell

Cell to verify.

Returns: Boolean. true is the specified cell, the owner row, owner column and the data source, allow user editing.

Checks if the cell at the colIndex and rowIndex location can enter edit mode.

Parameter
Type
Description

colIndex

The column index of the cell to verify.

rowIndex

The row index of the cell to verify.

Returns: Boolean. true is the specified cell, the owner row, owner column and the data source, allow user editing.

Checks if the cell at the cellAddress location can enter edit mode.

Parameter
Type
Description

cellAddress

Coordinates of the cell to verify.

Returns: Boolean. true is the specified cell, the owner row, owner column and the data source, allow user editing.

Checks if the specified cell is visible.

Parameter
Type
Description

cell

Cell to verify.

Returns: Boolean. true is the specified cell, the owner row, owner column and the data source, allow user editing.

Checks if the cell at the colIndex and rowIndex location is visible.

Parameter
Type
Description

colIndex

The column index of the cell to verify.

rowIndex

The row index of the cell to verify.

Returns: Boolean. true is the specified cell, the owner row, owner column and the data source, allow user editing.

Checks if the cell at the cellAddress location is visible.

Parameter
Type
Description

cellAddress

Coordinates of the cell to verify.

Returns: Boolean. true is the specified cell, the owner row, owner column and the data source, allow user editing.

Verifies that the cell address refers to a valid cell.

Parameter
Type
Description

cellAddress

Cell address to verify.

Returns: Boolean. true if the coordinates correspond to a valid cell address.

Verifies that the column index and row index refer to a valid cell.

Parameter
Type
Description

colIndex

The index of the column to verify.

rowIndex

The index of the row to verify.

Returns: Boolean. true if the coordinates correspond to a valid cell address.

Verifies that the column index refer to a valid column.

Parameter
Type
Description

colIndex

The index of the column to verify.

Returns: Boolean. true if the column index corresponds to a valid column.

Verifies that the row index refer to a valid row.

Parameter
Type
Description

rowIndex

The index of the row to verify.

Returns: Boolean. true if the row index corresponds to a valid row.

Notifies the DataGridView that the current cell has uncommitted changes.

Parameter
Type
Description

dirty

True to indicate the cell has uncommitted changes; otherwise, false.

Returns a collection of referenced components or collection of components.

Parameter
Type
Description

items

Fires the AllowUserToAddRowsChanged event.

Parameter
Type
Description

e

Fires the AllowUserToDeleteRowsChanged event.

Parameter
Type
Description

e

Fires the AllowUserToOrderColumnsChanged event.

Parameter
Type
Description

e

Fires the AllowUserToResizeColumnsChanged event.

Parameter
Type
Description

e

Fires the AllowUserToResizeRowsChanged event.

Parameter
Type
Description

e

Fires the AutoGenerateColumnsChanged event.

Parameter
Type
Description

e

Fires the BindingContextChanged event.

Parameter
Type
Description

e

Fires the CellBeginEdit event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is less than zero or greater than the number of columns in the control, or the value of the RowIndex property of e is less than zero or greater than the number of rows in the control.

Fires the CellClick event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the CellCommandChanged event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the CellCommandNeeded event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is less than zero or greater than the number of columns in the control, or the value of the RowIndex property of e is less than zero or greater than the number of rows in the control.

Fires the CellCommandPushed event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is less than zero or greater than the number of columns in the control, or the value of the RowIndex property of e is less than zero or greater than the number of rows in the control.

Fires the CellContextMenuNeeded event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the CellDoubleClick event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the CellEndEdit event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is less than zero or greater than the number of columns in the control, or the value of the RowIndex property of e is less than zero or greater than the number of rows in the control.

Fires the CellEnter event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is less than zero or greater than the number of columns in the control, or the value of the RowIndex property of e is less than zero or greater than the number of rows in the control.

Fires the CellErrorTextChanged event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is less than -1 or greater than the number of columns in the control. Or the value of the RowIndex property of e is less than -1 or greater than the number of rows in the control.

Fires the CellErrorTextNeeded event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control minus one; or the value of the RowIndex property of e is greater than the number of rows in the control minus one.

Fires the CellFormatting event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the CellLeave event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is less than zero or greater than the number of columns in the control, or the value of the RowIndex property of e is less than zero or greater than the number of rows in the control.

Fires the CellMouseClick event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the CellMouseDoubleClick event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the CellMouseDown event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the CellMouseEnter event.

Parameter
Type
Description

e

This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the CellMouseLeave event.

Parameter
Type
Description

e

This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the CellMouseMove event.

Parameter
Type
Description

e

This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the CellMouseUp event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the CellPaint event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control; or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the CellParsing event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is less than zero or greater than the number of columns in the control, or the value of the RowIndex property of e is less than zero or greater than the number of rows in the control.

Fires the CellStateChanged event.

Parameter
Type
Description

e

Fires the CellStyleChanged event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control minus one; or the value of the RowIndex property of e is greater than the number of rows in the control minus one.

Fires the CellStyleContentChanged event.

Parameter
Type
Description

e

Fires the ToolClick event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the CellToolTipTextChanged event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is less than -1 or greater than the number of columns in the control. Or the value of the RowIndex property of e is less than -1 or greater than the number of rows in the control.

Fires the CellToolTipTextNeeded event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control minus one; or the value of the RowIndex property of e is greater than the number of rows in the control minus one.

Fires the CellValidated event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is less than zero or greater than the number of columns in the control, or the value of the RowIndex property of e is less than zero or greater than the number of rows in the control.

Fires the CellValidating event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is less than zero or greater than the number of columns in the control, or the value of the RowIndex property of e is less than zero or greater than the number of rows in the control.

Fires the CellValueChanged event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the CellValueNeeded event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is less than zero or greater than the number of columns in the control, or the value of the RowIndex property of e is less than zero or greater than the number of rows in the control.

Fires the CellValuePushed event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is less than zero or greater than the number of columns in the control, or the value of the RowIndex property of e is less than zero or greater than the number of rows in the control.

Raises the ColumnAdded event.

Parameter
Type
Description

e

Throws:

  • ArgumentException The column indicated by the Column property of e does not belong to this DataGridView control.

Fires the ColumnDisplayIndexChanged event.

Parameter
Type
Description

e

Throws:

  • ArgumentException The column indicated by the Column property of e does not belong to this DataGridView control.

Raises the ColumnFillWeightChanged event.

Parameter
Type
Description

e

Throws:

  • ArgumentException The column indicated by the Column property of e does not belong to this DataGridView control.

Fires the ColumnHeaderMouseClick event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is less than zero or greater than the number of columns in the control.

Fires the ColumnHeaderMouseDoubleClick event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is less than zero or greater than the number of columns in the control.

Fires the ColumnHeadersHeightChanged event.

Parameter
Type
Description

e

Fires the ColumnMaximumWidthChanged event.

Parameter
Type
Description

e

Fires the ColumnMinimumWidthChanged event.

Parameter
Type
Description

e

Raises the ColumnNameChanged event.

Parameter
Type
Description

e

Throws:

  • ArgumentException The column indicated by the Column property of e does not belong to this DataGridView control.

Fires the ColumnRemoved event.

Parameter
Type
Description

e

Fires the ColumnSortModeChanged event.

Parameter
Type
Description

e

Fires the ColumnStateChanged event.

Parameter
Type
Description

e

Raises the ColumnWidthChanged event.

Parameter
Type
Description

e

Throws:

  • ArgumentException The column indicated by the Column property of e does not belong to this DataGridView control.

Fires the ControlAdded event.

Parameter
Type
Description

e

Fires the ControlCreated event.

Parameter
Type
Description

e

Fires the ControlRemoved event.

Parameter
Type
Description

e

Fires the CurrentCellChanged event.

Parameter
Type
Description

e

Fires the DataBindingComplete event.

Parameter
Type
Description

e

Fires the DataError event.

Parameter
Type
Description

e

Fires the DataError event.

Parameter
Type
Description

displayErrorIfNoHandler

e

Fires the DataMemberChanged event.

Parameter
Type
Description

e

Fires the DataRead event.

Parameter
Type
Description

e

Event data.

Fires the DataSourceChanged event.

Parameter
Type
Description

e

Fires the DataUpdated event.

Parameter
Type
Description

e

Fires the DefaultCellStyleChanged event.

Parameter
Type
Description

e

Fires the DefaultRowHeightChanged event.

Parameter
Type
Description

e

Fires the DefaultValuesNeeded event.

Parameter
Type
Description

e

Fires the EditingControlShowing event.

Parameter
Type
Description

e

Fires the EditModeChanged event.

Parameter
Type
Description

e

Fires the Enter event.

Parameter
Type
Description

e

Fires the KeyDown event.

Parameter
Type
Description

e

Fires the LastCellTab event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the Leave event.

Parameter
Type
Description

e

Fires the MouseUp event.

Parameter
Type
Description

e

Fires the MultiSelectChanged event.

Parameter
Type
Description

e

Raises the NewRowNeeded event.

Parameter
Type
Description

e

Fires the ReadOnlyChanged event.

Parameter
Type
Description

e

Throws:

  • InvalidCastException The control changed from read-only to read/write, enabling the current cell to enter edit mode, but the EditType property of the current cell does not indicate a class that derives from Control and implements IDataGridViewEditingControl.

Fires the RowExpanded event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the RowIndex property of e is greater than the number of rows in the control.

Fires the RowEnter event.

Parameter
Type
Description

e

Fires the RowErrorTextChanged event.

Parameter
Type
Description

e

Fires the RowErrorTextNeeded event.

Parameter
Type
Description

e

Fires the RowExpanded event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the RowIndex property of e is greater than the number of rows in the control.

Fires the RowHeaderMouseClick event.

Parameter
Type
Description

e

Fires the RowHeaderMouseDoubleClick event.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the RowIndex property of e is greater than the number of rows in the control.

Fires the RowHeadersWidthChanged event.

Parameter
Type
Description

e

Raises the RowHeightChanged event.

Parameter
Type
Description

e

Fires the RowHeightInfoNeeded event.

Parameter
Type
Description

e

Fires the RowLeave event.

Parameter
Type
Description

e

Fires the RowMaximumHeightChanged event.

Parameter
Type
Description

e

Fires the RowMinimumHeightChanged event.

Parameter
Type
Description

e

Fires the RowsAdded event.

Parameter
Type
Description

e

Fires the RowsRemoved event.

Parameter
Type
Description

e

Fires the RowStateChanged event.

Parameter
Type
Description

e

Fires the RowValidated event.

Parameter
Type
Description

e

Fires the RowValidating event.

Parameter
Type
Description

e

Fires the Scroll event.

Parameter
Type
Description

e

This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

Fires the SelectionChanged event.

Parameter
Type
Description

e

Fires the SortCompare event.

Parameter
Type
Description

e

Fires the Sorted event.

Parameter
Type
Description

e

Fires the ToolClick event.

Parameter
Type
Description

e

Fires the TopLeftHeaderClick event, if MultiSelect is true, selects all the rows in the control.

Parameter
Type
Description

e

Throws:

  • ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.

Fires the UserAddedRow event.

Parameter
Type
Description

e

Fires the UserDeletedRow event.

Parameter
Type
Description

e

Fires the UserDeletingRow event.

Parameter
Type
Description

e

Process the Validating event on the current cell and pass the event invocation back to the grid.

Parameter
Type
Description

e

Throws:

  • Exception Validation failed and there is no handler for the DataError event or the handler has set the ThrowException property to true.

Returns the number of available data rows.

Returns: Int32.

Returns the data requested by the client.

Parameter
Type
Description

firstIndex

The index of the first requested row.

lastIndex

The index of the last requested row.

sortDirection

The sort direction.

sortIndex

The index of the sorted column. Can be -1 if there is no sorted column.

Returns: Object.

Processes the event from the client.

Parameter
Type
Description

e

Event arguments.

Renders the client component.

Parameter
Type
Description

config

Dynamic configuration object.

Updates the client component using the state information.

Parameter
Type
Description

state

Dynamic state object.

Processes a dialog key.

Parameter
Type
Description

keyData

Returns: Boolean. true if the key was processed by the control; otherwise, false.

Forces a full reload of the data displayed by this DataGridView.

Forces a full reload of the data displayed by this DataGridView.

Parameter
Type
Description

refreshChildren

True to also refresh all the children of this control.

Removes the all the summary rows.

Parameter
Type
Description

groupFromCol

Removes the summary rows that match the specified summaryPosition .

Parameter
Type
Description

groupFromCol

groupToCol

Removes the summary rows grouped by groupFromCol .

Parameter
Type
Description

summaryPosition

groupFromCol

Name of the first column that determines the group break values.

Removes the summary rows grouped by groupFromCol and groupToCol .

Parameter
Type
Description

summaryPosition

groupFromCol

Name of the first column that determines the group break values.

groupToCol

Name of the last column that determines the group break values.

Removes the summary rows grouped by groupFromCol .

Parameter
Type
Description

summaryPosition

groupFromCol

First column that determines the group break values.

groupToCol

Removes the summary rows grouped by groupFromCol and groupToCol .

Removes the summary rows that match the specified summaryPosition and grouped by groupFromCol .

Parameter
Type
Description

summaryPosition

Position of the summary rows to remove.

Removes the summary rows that match the specified summaryPosition and grouped by groupFromCol and groupToCol .

Parameter
Type
Description

groupFromCol

Name of the first column that determines the group break values.

Removes the summary rows that match the specified summaryPosition and grouped by groupFromCol and groupToCol .

Parameter
Type
Description

groupFromCol

First column that determines the group break values.

groupToCol

Last column that determines the group break values.

Scrolls the specified cell into view.

Parameter
Type
Description

cell

Throws:

  • ArgumentNullExceptioncell is null.

  • ArgumentExceptioncell doesn't belong to this DataGridView.

Scrolls the specified cell into view aligned according to the position specified by alignX and alignY , if possible.

Parameter
Type
Description

cell

alignX

alignY

Throws:

  • ArgumentNullExceptioncell is null.

  • ArgumentExceptioncell doesn't belong to this DataGridView.

Scrolls the specified cell into view.

Parameter
Type
Description

cellAddress

The address of the cell to scroll into view.

Throws:

  • ArgumentOutOfRangeExceptioncellAddress .X is less than -1 or greater than the number of columns in the control, or cellAddress .Y is less than -1 or greater than the number of rows in the control.

Scrolls the specified cell into view aligned according to the position specified by alignX and alignY , if possible.

Parameter
Type
Description

cellAddress

The address of the cell to scroll into view.

alignX

alignY

Throws:

  • ArgumentOutOfRangeExceptioncellAddress .X is less than -1 or greater than the number of columns in the control, or cellAddress .Y is less than -1 or greater than the number of rows in the control.

Scrolls the specified cell into view.

Parameter
Type
Description

columnIndex

The zero-based column index of the cell to scroll into view.

rowIndex

The zero-based row index of the cell to scroll into view.

Throws:

  • ArgumentOutOfRangeExceptioncolumnIndex is less than -1 or greater than the number of columns in the control, or rowIndex is less than -1 or greater than the number of rows in the control.

Scrolls the specified cell into view aligned according to the position specified by alignX and alignY , if possible.

Parameter
Type
Description

columnIndex

The zero-based column index of the cell to scroll into view.

rowIndex

The zero-based row index of the cell to scroll into view.

alignX

alignY

Throws:

  • ArgumentOutOfRangeExceptioncolumnIndex is less than -1 or greater than the number of columns in the control, or rowIndex is less than -1 or greater than the number of rows in the control.

Scrolls the specified column into view.

Parameter
Type
Description

columnIndex

The zero-based column index of the cell to scroll into view.

Throws:

  • ArgumentOutOfRangeExceptioncolumnIndex is less than -1 or greater than the number of columns in the control.

Scrolls the specified column into view aligned to the left or right according to the position specified by alignX .

Parameter
Type
Description

columnIndex

The zero-based column index of the cell to scroll into view.

alignX

Throws:

  • ArgumentOutOfRangeExceptioncolumnIndex is less than -1 or greater than the number of columns in the control.

Scrolls the specified column into view.

Parameter
Type
Description

column

Throws:

  • ArgumentNullExceptioncolumn is null.

  • ArgumentExceptioncolumn doesn't belong to this DataGridView.

Scrolls the specified column into view aligned to the left or right according to position specified by alignX .

Parameter
Type
Description

column

alignX

Throws:

  • ArgumentNullExceptioncolumn is null.

  • ArgumentExceptioncolumn doesn't belong to this DataGridView.

Scrolls the specified row into view.

Parameter
Type
Description

rowIndex

The zero-based row index of the cell to scroll into view.

Throws:

  • ArgumentOutOfRangeExceptionrowIndex is less than -1 or greater than the number of rows in the control.

Scrolls the specified row into view aligned to the top or bottom according to the position specified by alignY .

Parameter
Type
Description

rowIndex

The zero-based row index of the cell to scroll into view.

alignY

Throws:

  • ArgumentOutOfRangeExceptionrowIndex is less than -1 or greater than the number of rows in the control.

Scrolls the specified row into view.

Parameter
Type
Description

row

Throws:

  • ArgumentNullExceptionrow is null.

  • ArgumentExceptionrow doesn't belong to this DataGridView.

Scrolls the specified row into view aligned to the top or bottom according to the position specified by alignY .

Parameter
Type
Description

row

alignY

Throws:

  • ArgumentNullExceptionrow is null.

  • ArgumentExceptionrow doesn't belong to this DataGridView.

Selects all the cells, or rows, or columns, according to the SelectionMode property when the MultiSelect is true.

Selects all the cells, regardless of the SelectionMode and MultiSelect properties.

Selects all the columns, regardless of the SelectionMode and MultiSelect properties.

Selects all the rows, regardless of the SelectionMode and MultiSelect properties.

Cancels the selection of all currently selected cells except the one indicated.

Parameter
Type
Description

cellAddress

The coordinates of cell to select.

Cancels the selection of all currently selected cells except the one indicated.

Parameter
Type
Description

columnIndex

The zero-based column index of the cell to select.

rowIndex

The zero-based row index of the cell to select.

Throws:

  • ArgumentOutOfRangeExceptioncolumnIndex is less than -1 or greater than the number of columns in the control, or rowIndex is less than -1 or greater than the number of rows in the control.

Sets the command of the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

columnIndex

The index of the column containing the cell.

rowIndex

The index of the row containing the cell.

command

Value to store in the cell identified by columnIndex and rowIndex .

Throws:

  • ArgumentOutOfRangeExceptioncolumnIndex is less than 0 or columnIndex is equal to or greater than the number of cells in the collection.

  • ArgumentOutOfRangeExceptionrowIndex is less than 0.- or - rowIndex is equal to or greater than Count.

Sets the command of the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

cellAddress

Row and column index of the cell.

command

Value to store in the cell identified by cellAddress .

Throws:

  • ArgumentOutOfRangeExceptioncellAddress is less than 0 or equal to or greater than the number of row or columns in the collection.

Sets the command of the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

columnName

rowIndex

The index of the row containing the cell.

command

Value to store in the cell identified by columnName and rowIndex .

Throws:

  • ArgumentExceptioncolumnName does not match the name of any columns in the control.

  • ArgumentOutOfRangeExceptionrowIndex is less than 0.- or - rowIndex is equal to or greater than Count.

Sets the command of the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

column

rowIndex

The index of the row containing the cell.

command

Value to store in the cell identified by column and rowIndex .

Throws:

  • ArgumentNullExceptioncolumn is null.

  • ArgumentException The specified column does not belong to the same DataGridView that owns the cells.

  • ArgumentOutOfRangeExceptionrowIndex is less than 0.- or - rowIndex is equal to or greater than Count.

Sets the currently focused cell.

Parameter
Type
Description

cellAddress

Address of the cell.

Sets the currently focused cell.

Parameter
Type
Description

columnIndex

Column index of the cell.

rowIndex

Row index of the cell.

Sets the state for the row at rowIndex .

Parameter
Type
Description

rowIndex

The index of the row.

state

When using this method, the state parameter must contain all the states to set for the row. The best way to do this is to use GetRowState first and then OR or XOR or AND the state to alter. To set a specific state use SetRowState.Throws:

  • ArgumentOutOfRangeExceptionrowIndex is less than zero and greater than the number of rows in the collection.

Sets the state for the row at rowIndex .

Parameter
Type
Description

rowIndex

The index of the row.

state

on

True to add the state , otherwise false to remove the state .

Throws:

  • ArgumentOutOfRangeExceptionrowIndex is less than zero and greater than the number of rows in the collection.

Sets the value of the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

columnIndex

The index of the column containing the cell.

rowIndex

The index of the row containing the cell.

value

Value to store in the cell identified by columnIndex and rowIndex .

Throws:

  • ArgumentOutOfRangeExceptioncolumnIndex is less than 0 or columnIndex is equal to or greater than the number of cells in the collection.

  • ArgumentOutOfRangeExceptionrowIndex is less than 0.- or - rowIndex is equal to or greater than Count.

Sets the value of the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

cellAddress

Row and column index of the cell.

value

Value to store in the cell identified by cellAddress .

Throws:

  • ArgumentOutOfRangeExceptioncellAddress is less than 0 or equal to or greater than the number of row or columns in the collection.

Sets the value of the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

columnName

rowIndex

The index of the row containing the cell.

value

Value to store in the cell identified by columnName and rowIndex .

Throws:

  • ArgumentExceptioncolumnName does not match the name of any columns in the control.

  • ArgumentOutOfRangeExceptionrowIndex is less than 0.- or - rowIndex is equal to or greater than Count.

Sets the value of the specified cell without retrieving a DataGridViewRow and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in VirtualMode.

Parameter
Type
Description

column

rowIndex

The index of the row containing the cell.

value

Value to store in the cell identified by column and rowIndex .

Throws:

  • ArgumentNullExceptioncolumn is null.

  • ArgumentException The specified column does not belong to the same DataGridView that owns the cells.

  • ArgumentOutOfRangeExceptionrowIndex is less than 0.- or - rowIndex is equal to or greater than Count.

Sorts the contents of the DataGridView control in ascending or descending order based on the contents of the specified column.

Parameter
Type
Description

comparer

Throws:

  • ArgumentException The specified column is not part of this DataGridView; or the DataSource property has been set and the IsDataBound property of the specified column returns false.

  • ArgumentNullExceptioncolumn is null.

  • InvalidOperationException The VirtualMode property is set to true and the IsDataBound property of the specified column returns false; or the object specified by the DataSource property does not implement the IBindingList interface; or the object specified by the DataSource property has a SupportsSorting property value of false.

Sorts the contents of the DataGridView control using an implementation of the IComparer interface.

Parameter
Type
Description

column

direction

Throws:

  • ArgumentNullExceptioncomparer is null.

  • InvalidOperationExceptionVirtualMode is set to true; or DataSource is not null.

Causes the control to update the corresponding client side widget. When in design mode, causes the rendered control to update its entire surface in the designer.

Events

EventHandler Fired when the value of the AllowUserToAddRows property changes.

EventHandler Fired when the value of the AllowUserToDeleteRowsChanged property changes.

EventHandler Fired when the value of the AllowUserToOrderColumns property changes.

EventHandler Fired when the value of the AllowUserToResizeColumns property changes.

EventHandler Fired when the value of the AllowUserToResizeRows property changes.

DataGridViewCellCancelEventHandler Fired when edit mode starts for the selected cell.

DataGridViewCellEventHandler Fired when any part of a cell is clicked.

DataGridViewCellEventHandler Fired when the command of a cell changes.

DataGridViewCellCommandEventHandler Fired when the VirtualMode property of the DataGridView control is true and the DataGridView requires a command for a cell in order to execute a user action.

DataGridViewCellCommandEventHandler Fired when the VirtualMode property of the DataGridView control is true and a cell command has changed and requires storage in the underlying data source.

DataGridViewCellContextMenuNeededEventHandler Fired when a cell's context menu is needed.

DataGridViewCellEventHandler Fired when the user double-clicks anywhere in a cell.

DataGridViewCellEventHandler Fired when edit mode stops for the current cell.

DataGridViewCellEventHandler Fired when the current cell changes in the DataGridView control or when the control receives input focus.

DataGridViewCellEventHandler Fired when the value of the ErrorText property of a cell changes.

DataGridViewCellErrorTextNeededEventHandler Fired when a cell's error text is needed.

DataGridViewCellFormattingEventHandler Fired when the contents of a cell need to be formatted for display.

DataGridViewCellEventHandler Fired when a cell loses input focus and is no longer the current cell.

DataGridViewCellMouseEventHandler Occurs whenever the user clicks anywhere on a cell with the mouse.

DataGridViewCellMouseEventHandler Fired when a cell within the DataGridView is double-clicked.

DataGridViewCellMouseEventHandler Fired when the user presses a mouse button while the pointer is within the boundaries of a cell.

DataGridViewCellEventHandler Fired when the mouse pointer enters a cell.

This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

DataGridViewCellEventHandler Fired when the mouse pointer leaves a cell.

This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

DataGridViewCellMouseEventHandler Fired when the mouse pointer moves over the DataGridView control.

This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

DataGridViewCellMouseEventHandler Fired when the user releases a mouse button while over a cell.

DataGridViewCellPaintEventHandler Fired when a cell with the property UserPaint set to true needs to be drawn.

DataGridViewCellParsingEventHandler Fired when a cell leaves edit mode if the cell value has been modified.

DataGridViewCellStateChangedEventHandler Fired when a cell state changes, such as when the cell is selected or focused.

DataGridViewCellEventHandler Fired when the Style property of a DataGridViewCell changes.

DataGridViewCellStyleContentChangedEventHandler Fired when one of the values of a cell style changes.

DataGridViewToolClickEventHandler Fired when a ComponentTool hosted in a cell editor is clicked.

DataGridViewCellEventHandler Fired when the value of the ToolTipText property of a cell changes.

DataGridViewCellToolTipTextNeededEventHandler Fired when a cell's ToolTip text is needed.

DataGridViewCellEventHandler Occurs after the cell has finished validating.

DataGridViewCellValidatingEventHandler Fired when a cell loses input focus, enabling content validation.

DataGridViewCellEventHandler Fired when the value of a cell changes.

DataGridViewCellValueEventHandler Fired when the VirtualMode property of the DataGridView control is true and the DataGridView requires a value for a cell in order to format and display the cell.

DataGridViewCellValueEventHandler Fired when the VirtualMode property of the DataGridView control is true and a cell value has changed and requires storage in the underlying data source.

DataGridViewColumnEventHandler Fired when a column is added to the control.

DataGridViewColumnEventHandler Fired when the value the DisplayIndex property for a column changes.

DataGridViewColumnEventHandler Fired when the FillWeight property changes.

DataGridViewCellMouseEventHandler Fired when the user clicks a column header.

DataGridViewCellMouseEventHandler Fired when a column header is double-clicked.

EventHandler Fired when the value of the ColumnHeadersHeight property changes.

DataGridViewColumnEventHandler Fired when the value of the MaximumWidth property for a column changes.

DataGridViewColumnEventHandler Fired when the value of the MinimumWidth property for a column changes.

DataGridViewColumnEventHandler Fired when the Name property changes.

DataGridViewColumnEventHandler Fired when a column is removed from the control.

DataGridViewColumnEventHandler Fired when the value of the SortMode property changes.

DataGridViewColumnStateChangedEventHandler Fired when a column changes state, such as becoming visible.

DataGridViewColumnEventHandler Fired when the value of the Width property for a column changes.

EventHandler Fired when the CurrentCell property changes.

DataGridViewBindingCompleteEventHandler Occurs after a data-binding operation has finished.

DataGridViewDataErrorEventHandler Fired when a data parsing or data validation operation throws an exception, or when committing data to a data source fails.

EventHandler Fired when value of the DataMember property changes.

DataGridViewDataReadEventHandler Occurs when the client requests a set of rows from the server.

You can use this event when the DataGridView is in VirtualMode to pre-populate a paged data set used when handling the CellValueNeeded events.

EventHandler Fired when the value of the DataSource property changes.

DataGridViewDataUpdatedEventHandler Fired when the client has updated one or more rows in the grid.

This event is fired only if the application has attached at least one handler to the event. Otherwise, simply overriding OnDataUpdated won't work.

EventHandler Fired when the value of the DefaultRowHeight property changes.

DataGridViewRowEventHandler Fired when the user enters the row for new records so that it can be populated with default values.

DataGridViewEditingControlShowingEventHandler Fired when a control for editing a cell is showing.

EventHandler Fired when the value of the EditMode property changes.

EventHandler Fired when the value of the KeepSameRowHeight property changes.

DataGridViewCellEventHandler Fired when the user tabs past the last cell.

EventHandler Fired when the value of the LiveResize property changes.

EventHandler Fired when the value of the MultiSelect property changes.

DataGridViewRowEventHandler Fired when the VirtualMode property of the DataGridView is true and the user navigates to the new row at the bottom of the DataGridView.

EventHandler Fired when the value of the ReadOnly property changes.

DataGridViewRowEventHandler Fired when a parent row is collapsed.

DataGridViewCellEventHandler Fired when a row receives input focus but before it becomes the current row.

DataGridViewRowEventHandler Fired when the ErrorText property of a row changes.

DataGridViewRowErrorTextNeededEventHandler Fired when the row's error text is required.

DataGridViewRowEventHandler Fired when a parent row is expanded.

DataGridViewCellMouseEventHandler Fired when the user clicks within the boundaries of a row header.

DataGridViewCellMouseEventHandler Fired when a row header is double-clicked.

EventHandler Fired when value of the RowHeadersWidth property changes.

DataGridViewRowEventHandler Fired when the value of the Height property for a row changes.

DataGridViewRowHeightInfoNeededEventHandler Fired when information about row height is requested.

DataGridViewCellEventHandler Fired when a row loses input focus and is no longer the current row.

DataGridViewRowEventHandler Fired when the value of the MaximumHeight property for a row changes.

DataGridViewRowEventHandler Fired when the value of the MinimumHeight property for a row changes.

DataGridViewRowsAddedEventHandler Occurs after a new row is added to the DataGridView.

DataGridViewRowsRemovedEventHandler Fired when a row or rows are deleted from the DataGridView.

DataGridViewRowStateChangedEventHandler Fired when a row changes state, such as getting selected.

DataGridViewCellEventHandler Occurs after a row has finished validating.

DataGridViewCellCancelEventHandler Fired when a row is validating.

ScrollEventHandler Fired when the user or code scrolls the grid.

This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

EventHandler Fired when the current selection changes.

EventHandler Fired when the value of the ShowColumnVisibilityMenu property changes.

DataGridViewSortCompareEventHandler Fired when the DataGridView compares two cell values to perform a sort operation.

EventHandler Fired when the DataGridView control completes a sorting operation.

EventHandler Fired when the value of the StandardReturn property changes.

EventHandler Fired when the value of the StandardTab property changes.

ToolClickEventHandler Fired when a ComponentTool is clicked.

DataGridViewCellCancelEventHandler Fired when the user presses a mouse button while the pointer is on the top-left corner cell.

DataGridViewRowEventHandler Fired when the user has finished adding a row to the DataGridView control.

DataGridViewRowEventHandler Fired when the user has finished deleting a row from the DataGridView control.

DataGridViewRowCancelEventHandler Fired when the user deletes a row from the DataGridView control.

Implements

Name
Description

Provides access to the UserData and Tag properties associated to the component implementing this interface.

Bindable components implement this interface.

Controls that support drag & drop operations implement this interface.

All wisej components implement this interface.

All wisej data stores implement this interface.

Represents a Wisej component that is capable of handling postback requests from the client.

Allows an object to serialize itself.

The data source to be displayed in the .

The location of the on its parent control.

The size of the .

AllowSortingDataSource

AllowUserToAddRows

AllowUserToDeleteRows

AllowUserToOrderColumns

AllowUserToResizeColumns

AllowUserToResizeRows

AutoGenerateColumns

AutoGenerateColumnsDefault

AutoSelectFirstRow

AutoSelectFirstRowDefault

AutoSize

AutoSizeColumnsMode

AutoSizeRowsMode

BlockSize

BorderStyle

CellBorderStyle

ClientArea

ClipboardCopyMode

ColumnCount

ColumnHeadersBorderStyle

ColumnHeadersDefaultCellStyle

ColumnHeadersHeight

ColumnHeadersHeightSizeMode

ColumnHeadersVisible

Columns

CurrentCell

CurrentCellAddress

CurrentRow

DataMember

DataSource

DefaultCellStyle

DefaultRowHeight

DefaultSortMode

EditingControl

EditMode

FirstDisplayedCell

FirstDisplayedColumnIndex

FirstDisplayedRowIndex

HorizontalScrollingOffset

HScroll

Indent

IsCurrentCellDirty

IsCurrentCellInEditMode

IsCurrentRowDirty

Item(columnIndex, rowIndex)

Item(columnName, rowIndex)

Item(column, rowIndex)

Item(cellAddress)

KeepSameRowHeight

LiveResize

MaxCachedBlocks

MultiSelect

NewRowIndex

NoDataMessage

ReadOnly

RightClickSelection

RowCount

RowHeaderColumn

RowHeadersDefaultCellStyle

RowHeadersMaximumWidth

RowHeadersMinimumWidth

RowHeadersVisible

RowHeadersWidth

RowHeadersWidthSizeMode

Rows

RowTemplate

ScrollBars

SelectedCells

SelectedColumns

SelectedRows

SelectionDelay

SelectionMode

ShowCellErrors

ShowCellToolTips

ShowColumnVisibilityMenu

ShowFocusCell

ShowRowErrors

SortedColumn

SortFrozenRows

SortOrder

SortSelectionMode

StandardReturn

StandardTab

Tools

ToolsPosition

TopLeftHeaderCell

TreeColumn

VirtualMode

VisibleRowCount

VScroll

AddSummaryRows(summaryType, groupCol, summaryCol, style, customSummary)

style

Optional for the summary rows.

customSummary

Optional custom summary function, used when summaryType is .

AddSummaryRows(summaryType, summaryPosition, groupCol, summaryCol, style, customSummary)

Indicates the position of the .

style

Optional for the summary rows.

customSummary

Optional custom summary function, used when summaryType is .

AddSummaryRows(summaryType, groupFromCol, groupToCol, summaryCol, style, customSummary)

style

Optional for the summary rows.

customSummary

Optional custom summary function, used when summaryType is .

AddSummaryRows(summaryType, summaryPosition, groupFromCol, groupToCol, summaryCol, style, customSummary)

Indicates the position of the .

style

Optional for the summary rows.

customSummary

Optional custom summary function, used when summaryType is .

AddSummaryRows(summaryType, groupCol, summaryCol, style, customSummary)

style

Optional for the summary rows.

customSummary

Optional custom summary function, used when summaryType is .

AddSummaryRows(summaryType, summaryPosition, groupCol, summaryCol, style, customSummary)

Indicates the position of the .

style

Optional for the summary rows.

customSummary

Optional custom summary function, used when summaryType is .

AddSummaryRows(summaryType, groupFromCol, groupToCol, summaryCol, style, customSummary)

style

Optional for the summary rows.

customSummary

Optional custom summary function, used when summaryType is .

AddSummaryRows(summaryType, summaryPosition, groupFromCol, groupToCol, summaryCol, style, customSummary)

Indicates the position of the .

style

Optional for the summary rows.

customSummary

Optional custom summary function, used when summaryType is .

Append(data, dataMember)

The object that contains data for the to display.

dataMember

The name of the table or list in the data object for which the should load the data.

AreAllCellsSelected(includeInvisibleCells)

true to include the rows and columns with the property set to false.

AutoResizeColumn(columnIndex)

AutoResizeColumn(columnIndex, extraSpace)

AutoResizeColumn(columnIndex, autoSizeMode)

One of the values.

AutoResizeColumn(columnIndex, autoSizeMode, extraSpace)

One of the values.

AutoResizeColumnHeadersHeight()

AutoResizeColumnHeadersHeight(columnIndex)

AutoResizeColumns()

AutoResizeColumns(extraSpace)

AutoResizeColumns(autoSizeMode)

One of the values.

AutoResizeColumns(autoSizeMode, extraSpace)

One of the values.

AutoResizeRow(rowIndex)

AutoResizeRow(rowIndex, extraSpace)

AutoResizeRow(rowIndex, autoSizeMode)

One of the values.

AutoResizeRow(rowIndex, autoSizeMode, extraSpace)

One of the values.

AutoResizeRowHeadersWidth(autoSizeMode)

One of the values.

AutoResizeRowHeadersWidth(autoSizeMode, extraSpace)

One of the values.

AutoResizeRowHeadersWidth(rowIndex, autoSizeMode)

One of the values.

AutoResizeRowHeadersWidth(rowIndex, autoSizeMode, extraSpace)

One of the values.

AutoResizeRows()

AutoResizeRows(extraSpace)

AutoResizeRows(autoSizeMode)

One of the values.

BeginEdit(selectAll)

selectAll

BeginUpdate()

CancelEdit()

CanSort(sortColumn)

ClearSelection()

CommitEdit()

CreateDataBoundColumn(property, name)

CreateDataGridViewColumnFromType(type)

CreateSummaryRow(group, summaryPosition, groupFromCol, groupToCol, style)

An array of the summarized by the group row being created.

The indicated by the method call.

The first delimiting the group.

The last delimiting the group.

A for the summary row; can be null.

Dispose(disposing)

EndEdit()

EndUpdate()

Fill(data, dataMember)

The object that contains data for the to display.

dataMember

The name of the table or list in the data object for which the should load the data.

GetClipboardContent()

GetCommand(columnIndex, rowIndex)

GetCommand(cellAddress)

GetCommand(column, rowIndex)

The that contains the cell.

GetCommand(columnName, rowIndex)

The of the column containing the cell.

GetFormattedValue(columnIndex, rowIndex)

GetFormattedValue(column, rowIndex)

The that contains the cell.

GetFormattedValue(columnName, rowIndex)

The of the column containing the cell.

GetRowState(rowIndex)

GetValue(columnIndex, rowIndex)

GetValue(cellAddress)

GetValue(column, rowIndex)

The that contains the cell.

GetValue(columnName, rowIndex)

The of the column containing the cell.

HitTest(x, y)

The x coordinate relative to the control.

The y coordinate relative to the control.

HitTest(position)

The x, y coordinate relative to the control.

IsCellEditable(cell)

IsCellEditable(colIndex, rowIndex)

IsCellEditable(cellAddress)

IsCellVisible(cell)

IsCellVisible(colIndex, rowIndex)

IsCellVisible(cellAddress)

IsValidCell(cellAddress)

IsValidCell(colIndex, rowIndex)

IsValidColumn(colIndex)

IsValidRow(rowIndex)

NotifyCurrentCellDirty(dirty)

OnAddReferences(items)

OnAllowUserToAddRowsChanged(e)

An that contains the event data.

OnAllowUserToDeleteRowsChanged(e)

An that contains the event data.

OnAllowUserToOrderColumnsChanged(e)

A that contains the event data.

OnAllowUserToResizeColumnsChanged(e)

An that contains the event data.

OnAllowUserToResizeRowsChanged(e)

An that contains the event data.

OnAutoGenerateColumnsChanged(e)

An that contains the event data.

OnBindingContextChanged(e)

An that contains the event data.

OnCellBeginEdit(e)

A that contains the event data.

OnCellClick(e)

A that contains the event data.

OnCellCommandChanged(e)

A that contains the event data.

OnCellCommandNeeded(e)

A that contains the event data.

OnCellCommandPushed(e)

A that contains the event data.

OnCellContextMenuNeeded(e)

A that contains the event data.

OnCellDoubleClick(e)

A that contains the event data.

OnCellEndEdit(e)

A that contains the event data.

OnCellEnter(e)

A that contains the event data.

OnCellErrorTextChanged(e)

A that contains the event data.

OnCellErrorTextNeeded(e)

A that contains the event data.

OnCellFormatting(e)

A that contains the event data.

OnCellLeave(e)

A that contains the event data.

OnCellMouseClick(e)

A that contains the event data.

OnCellMouseDoubleClick(e)

A that contains the event data.

OnCellMouseDown(e)

A that contains the event data.

OnCellMouseEnter(e)

A that contains the event data.

OnCellMouseLeave(e)

A that contains the event data.

OnCellMouseMove(e)

A that contains the event data.

OnCellMouseUp(e)

A that contains the event data.

OnCellPaint(e)

A that contains the event data.

OnCellParsing(e)

A that contains the event data.

OnCellStateChanged(e)

A that contains the event data.

OnCellStyleChanged(e)

A that contains the event data.

OnCellStyleContentChanged(e)

A that contains the event data.

OnCellToolClick(e)

A that contains the event data.

OnCellToolTipTextChanged(e)

A that contains the event data.

OnCellToolTipTextNeeded(e)

A that contains the event data.

OnCellValidated(e)

A that contains the event data.

OnCellValidating(e)

A that contains the event data.

OnCellValueChanged(e)

A that contains the event data.

OnCellValueNeeded(e)

A that contains the event data.

OnCellValuePushed(e)

A that contains the event data.

OnColumnAdded(e)

A that contains the event data.

OnColumnDisplayIndexChanged(e)

A that contains the event data.

OnColumnFillWeightChanged(e)

A that contains the event data.

OnColumnHeaderMouseClick(e)

A that contains the event data.

OnColumnHeaderMouseDoubleClick(e)

A that contains information about the cell and the position of the mouse pointer.

OnColumnHeadersHeightChanged(e)

An that contains the event data.

OnColumnMaximumWidthChanged(e)

A that contains the event data.

OnColumnMinimumWidthChanged(e)

A that contains the event data.

OnColumnNameChanged(e)

A that contains the event data.

OnColumnRemoved(e)

A that contains the event data.

OnColumnSortModeChanged(e)

A that contains the event data.

OnColumnStateChanged(e)

A that contains the event data.

OnColumnWidthChanged(e)

A that contains the event data.

OnControlAdded(e)

A that contains the event data.

OnControlCreated(e)

A that contains the event data.

OnControlRemoved(e)

A that contains the event data.

OnCurrentCellChanged(e)

An that contains the event data.

OnDataBindingComplete(e)

A that contains the event data.

OnDataError(e)

A that contains the event data.

OnDataError(displayErrorIfNoHandler, e)

true to display an error dialog box if there is no handler for the event.

A that contains the event data.

OnDataMemberChanged(e)

An that contains the event data.

OnDataRead(e)

OnDataSourceChanged(e)

An that contains the event data.

OnDataUpdated(e)

A that contains the event data.

OnDefaultCellStyleChanged(e)

A that contains the event data.

OnDefaultRowHeightChanged(e)

An that contains the event data.

OnDefaultValuesNeeded(e)

A that contains the event data.

OnEditingControlShowing(e)

A that contains information about the editing control.

OnEditModeChanged(e)

An that contains the event data.

OnEnter(e)

An that contains the event data.

OnKeyDown(e)

A that contains the event data.

OnLastCellTab(e)

A that contains the event data.

OnLeave(e)

An that contains the event data.

OnMouseUp(e)

A that contains the event data.

OnMultiSelectChanged(e)

An that contains the event data.

OnNewRowNeeded(e)

A that contains the event data.

OnReadOnlyChanged(e)

An that contains the event data.

OnRowCollapsed(e)

A that contains the event data.

OnRowEnter(e)

A that contains the event data.

OnRowErrorTextChanged(e)

A that contains the event data.

OnRowErrorTextNeeded(e)

A that contains the event data.

OnRowExpanded(e)

A that contains the event data.

OnRowHeaderMouseClick(e)

A that contains information about the mouse and the header cell that was clicked.

OnRowHeaderMouseDoubleClick(e)

A that contains information about the mouse and the header cell that was double-clicked.

OnRowHeadersWidthChanged(e)

A that contains the event data.

OnRowHeightChanged(e)

A that contains the event data.

OnRowHeightInfoNeeded(e)

A that contains the event data.

OnRowLeave(e)

A that contains the event data.

OnRowMaximumHeightChanged(e)

A that contains the event data.

OnRowMinimumHeightChanged(e)

A that contains the event data.

OnRowsAdded(e)

A that contains information about the added rows.

OnRowsRemoved(e)

A that contains information about the deleted rows.

OnRowStateChanged(e)

A that contains the event data.

OnRowValidated(e)

A that contains the event data.

OnRowValidating(e)

A that contains the event data.

OnScroll(e)

A that contains the event data.

OnSelectionChanged(e)

An that contains information about the event.

OnSortCompare(e)

A that contains the event data.

OnSorted(e)

An that contains the event data.

OnToolClick(e)

A that contains the event data.

OnTopLeftHeaderClick(e)

A that contains the event data.

OnUserAddedRow(e)

A that contains the event data.

OnUserDeletedRow(e)

A that contains the event data.

OnUserDeletingRow(e)

A that contains the event data.

OnValidating(e)

A that contains the event data.

OnWebDataCount()

OnWebDataRead(firstIndex, lastIndex, sortDirection, sortIndex)

OnWebEvent(e)

OnWebRender(config)

OnWebUpdate(state)

ProcessDialogKey(keyData)

One of the values that represents the key to process.

Refresh()

Refresh(refreshChildren)

RemoveSummaryRows(groupFromCol)

RemoveSummaryRows(groupFromCol, groupToCol)

RemoveSummaryRows(summaryPosition, groupFromCol)

RemoveSummaryRows(summaryPosition, groupFromCol, groupToCol)

RemoveSummaryRows(summaryPosition, groupFromCol, groupToCol)

RemoveSummaryRows()

RemoveSummaryRows(summaryPosition)

RemoveSummaryRows(groupFromCol)

RemoveSummaryRows(groupFromCol, groupToCol)

ScrollCellIntoView(cell)

The to scroll into view.

ScrollCellIntoView(cell, alignX, alignY)

The to scroll into view.

One of or . Any other value is ignored and will use the least-effort alignment.

One of or . Any other value is ignored and will use the least-effort alignment.

ScrollCellIntoView(cellAddress)

ScrollCellIntoView(cellAddress, alignX, alignY)

One of or . Any other value is ignored and will use the least-effort alignment.

One of or . Any other value is ignored and will use the least-effort alignment.

ScrollCellIntoView(columnIndex, rowIndex)

ScrollCellIntoView(columnIndex, rowIndex, alignX, alignY)

One of or . Any other value is ignored and will use the least-effort alignment.

One of or . Any other value is ignored and will use the least-effort alignment.

ScrollColumnIntoView(columnIndex)

ScrollColumnIntoView(columnIndex, alignX)

One of or . Any other value is ignored and will use the least-effort alignment.

ScrollColumnIntoView(column)

The to scroll into view.

ScrollColumnIntoView(column, alignX)

The to scroll into view.

One of or . Any other value is ignored and will use the least-effort alignment.

ScrollRowIntoView(rowIndex)

ScrollRowIntoView(rowIndex, alignY)

One of or . Any other value is ignored and will use the least-effort alignment.

ScrollRowIntoView(row)

The to scroll into view.

ScrollRowIntoView(row, alignY)

The to scroll into view.

One of or . Any other value is ignored and will use the least-effort alignment.

SelectAll()

SelectAllCells()

SelectAllColumns()

SelectAllRows()

SelectCell(cellAddress)

SelectCell(columnIndex, rowIndex)

SetCommand(columnIndex, rowIndex, command)

SetCommand(cellAddress, command)

SetCommand(columnName, rowIndex, command)

The of the column containing the cell.

SetCommand(column, rowIndex, command)

The that contains the cell.

SetCurrentCell(cellAddress)

SetCurrentCell(columnIndex, rowIndex)

SetRowState(rowIndex, state)

state to set.

SetRowState(rowIndex, state, on)

state to turn on or off.

SetValue(columnIndex, rowIndex, value)

SetValue(cellAddress, value)

SetValue(columnName, rowIndex, value)

The of the column containing the cell.

SetValue(column, rowIndex, value)

The that contains the cell.

Sort(comparer)

Sort(column, direction)

Update()

AllowUserToAddRowsChanged

AllowUserToDeleteRowsChanged

AllowUserToOrderColumnsChanged

AllowUserToResizeColumnsChanged

AllowUserToResizeRowsChanged

CellBeginEdit

CellClick

CellCommandChanged

CellCommandNeeded

CellCommandPushed

CellContextMenuNeeded

CellDoubleClick

CellEndEdit

CellEnter

CellErrorTextChanged

CellErrorTextNeeded

CellFormatting

CellLeave

CellMouseClick

CellMouseDoubleClick

CellMouseDown

CellMouseEnter

CellMouseLeave

CellMouseMove

CellMouseUp

CellPaint

CellParsing

CellStateChanged

CellStyleChanged

CellStyleContentChanged

CellToolClick

CellToolTipTextChanged

CellToolTipTextNeeded

CellValidated

CellValidating

CellValueChanged

CellValueNeeded

CellValuePushed

ColumnAdded

ColumnDisplayIndexChanged

ColumnFillWeightChanged

ColumnHeaderMouseClick

ColumnHeaderMouseDoubleClick

ColumnHeadersHeightChanged

ColumnMaximumWidthChanged

ColumnMinimumWidthChanged

ColumnNameChanged

ColumnRemoved

ColumnSortModeChanged

ColumnStateChanged

ColumnWidthChanged

CurrentCellChanged

DataBindingComplete

DataError

DataMemberChanged

DataRead

DataSourceChanged

DataUpdated

DefaultRowHeightChanged

DefaultValuesNeeded

EditingControlShowing

EditModeChanged

KeepSameRowHeightChanged

LastCellTab

LiveResizeChanged

MultiSelectChanged

NewRowNeeded

ReadOnlyChanged

RowCollapsed

RowEnter

RowErrorTextChanged

RowErrorTextNeeded

RowExpanded

RowHeaderMouseClick

RowHeaderMouseDoubleClick

RowHeadersWidthChanged

RowHeightChanged

RowHeightInfoNeeded

RowLeave

RowMaximumHeightChanged

RowMinimumHeightChanged

RowsAdded

RowsRemoved

RowStateChanged

RowValidated

RowValidating

Scroll

SelectionChanged

ShowColumnVisibilityMenuChanged

SortCompare

Sorted

StandardReturnChanged

StandardTabChanged

ToolClick

TopLeftHeaderClick

UserAddedRow

UserDeletedRow

UserDeletingRow

Provides access to the property for coontrols that support the read-only mode.

All wisej controls derived from the class must implement this interface.

Object
DataGridView
Action<Object, DataGridViewCellEventArgs>
Point
DataGridView
Size
DataGridView
SummaryType
String
String
DataGridViewCellStyle
DataGridViewCellStyle
CustomSummary
Custom
SummaryType
SummaryRowPosition
DataGridViewSummaryRow
String
String
DataGridViewCellStyle
DataGridViewCellStyle
CustomSummary
Custom
SummaryType
String
String
String
DataGridViewCellStyle
DataGridViewCellStyle
CustomSummary
Custom
SummaryType
SummaryRowPosition
DataGridViewSummaryRow
String
String
String
DataGridViewCellStyle
DataGridViewCellStyle
CustomSummary
Custom
SummaryType
DataGridViewColumn
DataGridViewColumn
DataGridViewCellStyle
DataGridViewCellStyle
CustomSummary
Custom
SummaryType
SummaryRowPosition
DataGridViewSummaryRow
DataGridViewColumn
DataGridViewColumn
DataGridViewCellStyle
DataGridViewCellStyle
CustomSummary
Custom
SummaryType
DataGridViewColumn
DataGridViewColumn
DataGridViewColumn
DataGridViewCellStyle
DataGridViewCellStyle
CustomSummary
Custom
SummaryType
SummaryRowPosition
DataGridViewSummaryRow
DataGridViewColumn
DataGridViewColumn
DataGridViewColumn
DataGridViewCellStyle
DataGridViewCellStyle
CustomSummary
Custom
Object
DataGridView
String
DataGridView
Boolean
Visible
Int32
Int32
Int32
Int32
DataGridViewAutoSizeColumnMode
DataGridViewAutoSizeColumnMode
Int32
DataGridViewAutoSizeColumnMode
DataGridViewAutoSizeColumnMode
Int32
Int32
Int32
DataGridViewAutoSizeColumnsMode
DataGridViewAutoSizeColumnsMode
DataGridViewAutoSizeColumnsMode
DataGridViewAutoSizeColumnsMode
Int32
Int32
Int32
Int32
Int32
DataGridViewAutoSizeRowMode
DataGridViewAutoSizeRowMode
Int32
DataGridViewAutoSizeRowMode
DataGridViewAutoSizeRowMode
Int32
DataGridViewRowHeadersWidthSizeMode
DataGridViewRowHeadersWidthSizeMode
DataGridViewRowHeadersWidthSizeMode
DataGridViewRowHeadersWidthSizeMode
Int32
Int32
DataGridViewRowHeadersWidthSizeMode
DataGridViewRowHeadersWidthSizeMode
Int32
DataGridViewRowHeadersWidthSizeMode
DataGridViewRowHeadersWidthSizeMode
Int32
Int32
DataGridViewAutoSizeRowsMode
DataGridViewAutoSizeRowMode
Boolean
DataGridViewColumn
PropertyDescriptor
String
Type
DataGridViewRow[]
DataGridViewRow
SummaryRowPosition
SummaryRowPosition
AddSummaryRows
DataGridViewColumn
DataGridViewColumn
DataGridViewColumn
DataGridViewColumn
DataGridViewCellStyle
DataGridViewCellStyle
Boolean
Object
DataGridView
String
DataGridView
Int32
Int32
Point
DataGridViewColumn
DataGridViewColumn
Int32
String
Name
Int32
Int32
Int32
DataGridViewColumn
DataGridViewColumn
Int32
String
Name
Int32
Int32
Int32
Int32
Point
DataGridViewColumn
DataGridViewColumn
Int32
String
Name
Int32
Int32
DataGridView
Int32
DataGridView
Point
DataGridView
DataGridViewCell
Int32
Int32
Point
DataGridViewCell
Int32
Int32
Point
Point
Int32
Int32
Int32
Int32
Boolean
IList
EventArgs
EventArgs
EventArgs
EventArgs
EventArgs
EventArgs
EventArgs
EventArgs
EventArgs
EventArgs
EventArgs
EventArgs
EventArgs
EventArgs
DataGridViewCellCancelEventArgs
DataGridViewCellCancelEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellCommandEventArgs
DataGridViewCellCommandEventArgs
DataGridViewCellCommandEventArgs
DataGridViewCellCommandEventArgs
DataGridViewCellContextMenuNeededEventArgs
DataGridViewCellContextMenuNeededEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellErrorTextNeededEventArgs
DataGridViewCellErrorTextNeededEventArgs
DataGridViewCellFormattingEventArgs
DataGridViewCellFormattingEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellPaintEventArgs
DataGridViewCellPaintEventArgs
DataGridViewCellParsingEventArgs
DataGridViewCellParsingEventArgs
DataGridViewCellStateChangedEventArgs
DataGridViewCellStateChangedEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellStyleContentChangedEventArgs
DataGridViewCellStyleContentChangedEventArgs
DataGridViewToolClickEventArgs
DataGridViewToolClickEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellToolTipTextNeededEventArgs
DataGridViewCellToolTipTextNeededEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellValidatingEventArgs
DataGridViewCellValidatingEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellValueEventArgs
DataGridViewCellValueEventArgs
DataGridViewCellValueEventArgs
DataGridViewCellValueEventArgs
DataGridViewColumnEventArgs
DataGridViewColumnEventArgs
DataGridViewColumnEventArgs
DataGridViewColumnEventArgs
DataGridViewColumnEventArgs
DataGridViewColumnEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellMouseEventArgs
EventArgs
EventArgs
DataGridViewColumnEventArgs
DataGridViewColumnEventArgs
DataGridViewColumnEventArgs
DataGridViewColumnEventArgs
DataGridViewColumnEventArgs
DataGridViewColumnEventArgs
DataGridViewColumnEventArgs
DataGridViewColumnEventArgs
DataGridViewColumnEventArgs
DataGridViewColumnEventArgs
DataGridViewColumnStateChangedEventArgs
DataGridViewColumnStateChangedEventArgs
DataGridViewColumnEventArgs
DataGridViewColumnEventArgs
ControlEventArgs
ControlEventArgs
EventArgs
EventArgs
ControlEventArgs
ControlEventArgs
EventArgs
EventArgs
DataGridViewBindingCompleteEventArgs
DataGridViewBindingCompleteEventArgs
DataGridViewDataErrorEventArgs
DataGridViewDataErrorEventArgs
Boolean
DataError
DataGridViewDataErrorEventArgs
DataGridViewDataErrorEventArgs
EventArgs
EventArgs
DataGridViewDataReadEventArgs
EventArgs
EventArgs
DataGridViewDataUpdatedEventArgs
DataGridViewDataUpdatedEventArgs
EventArgs
EventArgs
EventArgs
EventArgs
DataGridViewRowEventArgs
DataGridViewRowEventArgs
DataGridViewEditingControlShowingEventArgs
DataGridViewEditingControlShowingEventArgs
EventArgs
EventArgs
EventArgs
EventArgs
KeyEventArgs
KeyEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
EventArgs
EventArgs
MouseEventArgs
MouseEventArgs
EventArgs
EventArgs
DataGridViewRowEventArgs
DataGridViewRowEventArgs
EventArgs
EventArgs
DataGridViewRowEventArgs
DataGridViewRowEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewRowEventArgs
DataGridViewRowEventArgs
DataGridViewRowErrorTextNeededEventArgs
DataGridViewRowErrorTextNeededEventArgs
DataGridViewRowEventArgs
DataGridViewRowEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellMouseEventArgs
DataGridViewCellMouseEventArgs
EventArgs
EventArgs
DataGridViewRowEventArgs
DataGridViewRowEventArgs
DataGridViewRowHeightInfoNeededEventArgs
DataGridViewRowHeightInfoNeededEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewRowEventArgs
DataGridViewRowEventArgs
DataGridViewRowEventArgs
DataGridViewRowEventArgs
DataGridViewRowsAddedEventArgs
DataGridViewRowsAddedEventArgs
DataGridViewRowsRemovedEventArgs
DataGridViewRowsRemovedEventArgs
DataGridViewRowStateChangedEventArgs
DataGridViewRowStateChangedEventArgs
DataGridViewCellEventArgs
DataGridViewCellEventArgs
DataGridViewCellCancelEventArgs
DataGridViewCellCancelEventArgs
ScrollEventArgs
ScrollEventArgs
EventArgs
EventArgs
DataGridViewSortCompareEventArgs
DataGridViewSortCompareEventArgs
EventArgs
EventArgs
ToolClickEventArgs
ToolClickEventArgs
DataGridViewCellCancelEventArgs
DataGridViewCellMouseEventArgs
DataGridViewRowEventArgs
DataGridViewRowEventArgs
DataGridViewRowEventArgs
DataGridViewRowEventArgs
DataGridViewRowCancelEventArgs
DataGridViewRowCancelEventArgs
CancelEventArgs
CancelEventArgs
Int32
Int32
ListSortDirection
Int32
WisejEventArgs
Object
Object
Keys
Keys
Boolean
DataGridViewColumn
DataGridViewColumn
DataGridViewColumn
SummaryRowPosition
String
SummaryRowPosition
String
String
SummaryRowPosition
DataGridViewColumn
DataGridViewColumn
SummaryRowPosition
String
String
String
DataGridViewCell
DataGridViewCell
DataGridViewCell
DataGridViewCell
Position
Left
Right
Position
Top
Bottom
Point
Point
Position
Left
Right
Position
Top
Bottom
Int32
Int32
Int32
Int32
Position
Left
Right
Position
Top
Bottom
Int32
Int32
Position
Left
Right
DataGridViewColumn
DataGridViewColumn
DataGridViewColumn
DataGridViewColumn
Position
Left
Right
Int32
Int32
Position
Top
Bottom
DataGridViewRow
DataGridViewRow
DataGridViewRow
DataGridViewRow
Position
Top
Bottom
Point
Int32
Int32
Int32
Int32
ICommand
Point
ICommand
String
Name
Int32
ICommand
DataGridViewColumn
DataGridViewColumn
Int32
ICommand
Point
Int32
Int32
Int32
DataGridViewElementStates
DataGridViewElementStates
Int32
DataGridViewElementStates
DataGridViewElementStates
Boolean
Int32
Int32
Object
Point
Object
String
Name
Int32
Object
DataGridViewColumn
DataGridViewColumn
Int32
Object
IComparer
DataGridViewColumn
ListSortDirection
IUserData
IBindableComponent
IDropTarget
IReadOnly
ReadOnly
IWisejComponent
IWisejControl
Control
IWisejDataStore
IWisejHandler
IWisejSerializable