DataGridViewElement.DataGridView Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.