DataGridViewElement Class

 

Provides the base class for elements of a DataGridView control.

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


public ref class DataGridViewElement 

NameDescription
System_CAPS_pubmethodDataGridViewElement()

Initializes a new instance of the DataGridViewElement class.

NameDescription
System_CAPS_pubpropertyDataGridView

Gets the DataGridView control associated with this element.

System_CAPS_pubpropertyState

Gets the user interface (UI) state of the element.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnDataGridViewChanged()

Called when the element is associated with a different DataGridView.

System_CAPS_protmethodRaiseCellClick(DataGridViewCellEventArgs^)

Raises the DataGridView::CellClick event.

System_CAPS_protmethodRaiseCellContentClick(DataGridViewCellEventArgs^)
System_CAPS_protmethodRaiseCellContentDoubleClick(DataGridViewCellEventArgs^)
System_CAPS_protmethodRaiseCellValueChanged(DataGridViewCellEventArgs^)
System_CAPS_protmethodRaiseDataError(DataGridViewDataErrorEventArgs^)

Raises the DataGridView::DataError event.

System_CAPS_protmethodRaiseMouseWheel(MouseEventArgs^)

Raises the Control::MouseWheel event.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The .NET Framework supplies two specialized classes that derive from DataGridViewElement: DataGridViewCell, which represents individual elements, and DataGridViewBand, which represents a series of grouped subelements.

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: