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

Was this helpful?

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

DataGridViewCell

Wisej.Web.DataGridViewCell

Last updated 2 years ago

Was this helpful?

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents an individual cell in a control.

public class DataGridViewCell : DataGridViewElement, ICloneable
Public Class DataGridViewCell
    Inherits DataGridViewElement
    Implements ICloneable

Constructors

DataGridViewCell()

Properties

ColumnIndex

: Returns the column index for this cell.

ContextMenu

: Returns or sets the shortcut menu associated with the cell.

Throws:

Throws:

Throws:

Throws:

Throws:

Methods

Creates a copy of this cell.

Returns the current, formatted value of the cell, regardless the cell being in edit mode.

Throws:

Returns a value indicating the current state of the cell as inherited from the state of its row and column.

Parameter
Type
Description

rowIndex

The index of the row containing the cell.

Throws:

Returns the style applied to the cell.

Parameter
Type
Description

includeVisualProperties

true to include inherited visual properties; otherwise, false to include only formatting properties.

Throws:

Converts a value to the actual cell value.

Parameter
Type
Description

value

The display value of the cell.

cellStyle

formattedTypeConverter

valueTypeConverter

Throws:

Updates the cell on the client.

Inherited By

Name
Description

Contains functionality common to row header cells and column header cells.

Control

: Returns or sets a child control to display inside the cell.

DataGridView

: Returns the control associated with this .

DefaultNewRowValue

: Returns the default value for a cell in the row for new records.

Displayed

: Returns a value that indicates whether the cell is currently displayed.

Editable

: Returns whether the cell can be edited.

EditedFormattedValue

: Returns the current, formatted value of the cell, regardless of whether the cell is in edit mode and the value has not been committed.

The row containing the cell is a shared row; or the cell is a column header cell.

is less than 0, indicating that the cell is a row header cell.

Formatting failed and either there is no handler for the event of the control or the handler set the property to true. The exception object can typically be cast to type .

ErrorText

: Returns or sets the text describing an error condition associated with the cell.

FormattedValue

: Returns the value of the cell as formatted for display.

is less than 0, indicating that the cell is a row header cell.

The row containing the cell is a shared row; or the cell is a column header cell.

Formatting failed and either there is no handler for the event of the control or the handler set the property to true. The exception object can typically be cast to type .

FormattedValueType

: Returns the type of the formatted value associated with the cell.

Frozen

: Returns a value indicating whether the cell is frozen.

HasStyle

: Returns true it the property has been set.

HasUserData

: Checks if the dynamic object was created and has any value.

Height

: Returns the height of the cell.

InheritedState

: Returns the current state of the cell as inherited from the state of its row and column.

The cell is not contained within a control and the value of its property is not -1.

The cell is contained within a control and the value of its property is -1.

InheritedStyle

: Returns the style currently applied to the cell.

The cell does not belong to a control; or is less than 0, indicating that the cell is a row header cell.

The row containing the cell is a shared row; or the cell is a column header cell.

IsCurrentCell

: Returns whether this is the current cell in the .

IsInEditMode

: Returns a value indicating whether this cell is currently being edited.

OwningColumn

: Returns the column that contains this cell.

OwningRow

: Returns the row that contains this cell.

ReadOnly

: Returns or sets whether the cell's data can be edited.

Resizable

: Returns a value indicating whether the cell can be resized.

RowIndex

: Returns the index of the cell's parent row.

Selected

: Returns or sets whether the cell has been selected.

Size

: Returns the size of the cell.

Style

: Returns or sets the style for the cell.

Tag

: Returns or sets the object that contains supplemental data about the cell.

ToolTipText

: Returns or sets the ToolTip text associated with this cell.

UserData

: Returns a dynamic object that can be used to store custom data in relation to this cell.

UserPaint

: Enables or disables the user paint feature for this cell. When UserPaint is true, the application can handle the event to draw custom content in the cell.

Value

: Returns or sets the value associated with this cell.

is outside the valid range of 0 to the number of rows in the control minus 1.

is less than 0, indicating that the cell is a row header cell.

ValueType

: Returns or sets the data type of the values in the cell.

Visible

: Returns a value indicating whether the cell is in a row or column that has been hidden.

Width

: Returns the width of the cell.

Clone()

Returns: . The cloned .

GetEditedFormattedValue()

Returns: . The current, formatted value of the .

Formatting failed and either there is no handler for the event of the control or the handler set the property to true. The exception object can typically be cast to type .

GetInheritedState(rowIndex)

Returns: . A combination of values representing the current state of the cell.

The cell is not contained within a control and rowIndex is not -1 or rowIndex is not the index of the row containing this cell.

The cell is contained within a control and rowIndex is outside the valid range of 0 to the number of rows in the control minus 1.

GetInheritedStyle(includeVisualProperties)

Returns: . A that includes the style settings of the cell inherited from the cell's parent row, column, and .

The cell has no associated .

ParseFormattedValue(value, cellStyle, formattedTypeConverter, valueTypeConverter)

The in effect for the cell.

A for the display value type, or null to use the default converter.

A for the cell value type, or null to use the default converter.

Returns: . The cell value.

cellStyle is null.

The property value is null or the property value is null or value cannot be converted.

value is null or the type of value does not match the type indicated by the property.

ResetReadOnly()

Resets the state to inherit its value from the , and the .

Update()

Displays a button widget in a cell.

Displays a icon (not the actual control) in a cell.

Displays an editable control in a cell when in edit mode.

Displays an editable control in a cell when in edit mode.

Displays an image in a cell.

Displays a link widget in a cell.

Displays an editable control in a cell when in edit mode.

Displays an editable control in a cell when in edit mode.

Displays an editable control in a cell when in edit mode.

Represents a column header in a control.

Represents a row header of a control.

Control
DataGridView
DataGridView
DataGridViewCell
Object
Boolean
Boolean
Object
ArgumentOutOfRangeException
String
Object
ArgumentOutOfRangeException
Type
Boolean
Int32
DataGridViewElementStates
DataGridViewCellStyle
ArgumentOutOfRangeException
Boolean
DataGridViewColumn
DataGridViewRow
Boolean
Boolean
Int32
Boolean
Size
DataGridViewCellStyle
Object
String
Object
Object
Type
Boolean
Int32
DataGridViewCell
DataGridViewCell
Object
DataGridViewCell
DataGridViewElementStates
DataGridViewElementStates
ArgumentException
DataGridView
ArgumentOutOfRangeException
DataGridView
DataGridViewCellStyle
DataGridViewCellStyle
DataGridView
InvalidOperationException
DataGridView
Object
ArgumentNullException
InvalidOperationException
ColumnIndex
InvalidOperationException
ColumnIndex
Boolean
Style
Boolean
UserData
ArgumentException
DataGridView
RowIndex
ArgumentOutOfRangeException
DataGridView
RowIndex
InvalidOperationException
DataGridView
ColumnIndex
Boolean
DataGridView
ArgumentOutOfRangeException
RowIndex
InvalidOperationException
ColumnIndex
FormatException
FormattedValueType
ValueType
ArgumentException
FormattedValueType
ReadOnly
OwningColumn
OwningRow
DataGridView
Int32
Boolean
Object
DataGridViewCellStyle
DataGridViewCellStyle
TypeConverter
TypeConverter
TypeConverter
TypeConverter
DataGridViewButtonCell
DataGridViewCell
DataGridViewCheckBoxCell
CheckBox
DataGridViewCell
DataGridViewComboBoxCell
ComboBox
DataGridViewCell
DataGridViewDateTimePickerCell
DateTimePicker
DataGridViewCell
DataGridViewImageCell
DataGridViewCell
DataGridViewLinkCell
DataGridViewCell
DataGridViewMaskedTextBoxCell
MaskedTextBox
DataGridViewCell
DataGridViewNumericUpDownCell
NumericUpDown
DataGridViewCell
DataGridViewTextBoxCell
TextBox
DataGridViewCell
DataGridViewColumnHeaderCell
DataGridView
DataGridViewHeaderCell
DataGridViewRowHeaderCell
DataGridView
DataGridViewElement
DataGridViewCell
DataGridView
Int32
ContextMenu
Exception
DataGridView
FormatException
Exception
DataGridView
FormatException
Boolean
Exception
DataGridView
FormatException
ThrowException
ThrowException
ThrowException
DataError
DataError
CellPaint
DataError