DataGridViewCell Properties

DataGridViewCell Properties

 

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubpropertyAccessibilityObject
System_CAPS_pubpropertyColumnIndex

Gets the column index for this cell.

System_CAPS_pubpropertyContentBounds

Gets the bounding rectangle that encloses the cell's content area.

System_CAPS_pubpropertyContextMenuStrip

Gets or sets the shortcut menu associated with the cell.

System_CAPS_pubpropertyDataGridView

Gets the DataGridView control associated with this element.(Inherited from DataGridViewElement.)

System_CAPS_pubpropertyDefaultNewRowValue

Gets the default value for a cell in the row for new records.

System_CAPS_pubpropertyDisplayed

Gets a value that indicates whether the cell is currently displayed on-screen.

System_CAPS_pubpropertyEditedFormattedValue

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

System_CAPS_pubpropertyEditType

Gets the type of the cell's hosted editing control.

System_CAPS_pubpropertyErrorIconBounds

Gets the bounds of the error icon for the cell.

System_CAPS_pubpropertyErrorText

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

System_CAPS_pubpropertyFormattedValue

Gets the value of the cell as formatted for display.

System_CAPS_pubpropertyFormattedValueType

Gets the type of the formatted value associated with the cell.

System_CAPS_pubpropertyFrozen

Gets a value indicating whether the cell is frozen.

System_CAPS_pubpropertyHasStyle

Gets a value indicating whether the Style property has been set.

System_CAPS_pubpropertyInheritedState

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

System_CAPS_pubpropertyInheritedStyle

Gets the style currently applied to the cell.

System_CAPS_pubpropertyIsInEditMode

Gets a value indicating whether this cell is currently being edited.

System_CAPS_pubpropertyOwningColumn

Gets the column that contains this cell.

System_CAPS_pubpropertyOwningRow

Gets the row that contains this cell.

System_CAPS_pubpropertyPreferredSize

Gets the size, in pixels, of a rectangular area into which the cell can fit.

System_CAPS_pubpropertyReadOnly

Gets or sets a value indicating whether the cell's data can be edited.

System_CAPS_pubpropertyResizable

Gets a value indicating whether the cell can be resized.

System_CAPS_pubpropertyRowIndex

Gets the index of the cell's parent row.

System_CAPS_pubpropertySelected

Gets or sets a value indicating whether the cell has been selected.

System_CAPS_pubpropertySize

Gets the size of the cell.

System_CAPS_pubpropertyState

Gets the user interface (UI) state of the element.(Inherited from DataGridViewElement.)

System_CAPS_pubpropertyStyle

Gets or sets the style for the cell.

System_CAPS_pubpropertyTag

Gets or sets the object that contains supplemental data about the cell.

System_CAPS_pubpropertyToolTipText

Gets or sets the ToolTip text associated with this cell.

System_CAPS_pubpropertyValue

Gets or sets the value associated with this cell.

System_CAPS_pubpropertyValueType

Gets or sets the data type of the values in the cell.

System_CAPS_pubpropertyVisible

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

Return to top
Show:
© 2016 Microsoft