Édition

Partage via


DataGridViewElement.DataGridView Property

Definition

Gets the DataGridView control associated with this element.

public:
 property System::Windows::Forms::DataGridView ^ DataGridView { System::Windows::Forms::DataGridView ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.DataGridView DataGridView { get; }
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.DataGridView? DataGridView { get; }
[<System.ComponentModel.Browsable(false)>]
member this.DataGridView : System.Windows.Forms.DataGridView
Public ReadOnly Property DataGridView As DataGridView

Property Value

A DataGridView control that contains this element. The default is null.

Attributes

Applies to

See also