DataGridViewElement Klasa

Definicja

Udostępnia klasę bazową DataGridView dla elementów kontrolki.

public ref class DataGridViewElement
public class DataGridViewElement
type DataGridViewElement = class
Public Class DataGridViewElement
Dziedziczenie
DataGridViewElement
Pochodne

Uwagi

.NET Framework dostarcza dwie wyspecjalizowane klasy pochodzące z DataGridViewElementklasy : DataGridViewCell, która reprezentuje poszczególne elementy i DataGridViewBand, które reprezentują serię pogrupowanych podelementów.

Konstruktory

DataGridViewElement()

Inicjuje nowe wystąpienie klasy DataGridViewElement.

Właściwości

DataGridView

Pobiera kontrolkę DataGridView skojarzona z tym elementem.

State

Pobiera stan interfejsu użytkownika elementu.

Metody

Equals(Object)

Określa, czy dany obiekt jest taki sam, jak bieżący obiekt.

(Odziedziczone po Object)
GetHashCode()

Służy jako domyślna funkcja skrótu.

(Odziedziczone po Object)
GetType()

Type Pobiera bieżące wystąpienie.

(Odziedziczone po Object)
MemberwiseClone()

Tworzy płytkią kopię bieżącego Objectelementu .

(Odziedziczone po Object)
OnDataGridViewChanged()

Wywoływane, gdy element jest skojarzony z innym DataGridViewelementem .

RaiseCellClick(DataGridViewCellEventArgs)

CellClick Zgłasza zdarzenie.

RaiseCellContentClick(DataGridViewCellEventArgs)

CellContentClick Zgłasza zdarzenie.

RaiseCellContentDoubleClick(DataGridViewCellEventArgs)

CellContentDoubleClick Zgłasza zdarzenie.

RaiseCellValueChanged(DataGridViewCellEventArgs)

CellValueChanged Zgłasza zdarzenie.

RaiseDataError(DataGridViewDataErrorEventArgs)

DataError Zgłasza zdarzenie.

RaiseMouseWheel(MouseEventArgs)

MouseWheel Zgłasza zdarzenie.

ToString()

Zwraca ciąg reprezentujący bieżący obiekt.

(Odziedziczone po Object)

Dotyczy

Zobacz też