aspnet-devexpress-dot-web-dot-gridviewbasetemplatecontainer.md
Gets the ASPxGridView that owns the current object.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public ASPxGridView Grid { get; }
Public ReadOnly Property Grid As ASPxGridView
| Type | Description |
|---|---|
| ASPxGridView |
An ASPxGridView object that owns the current object.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Grid property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
public static GridViewGroupRowTemplateContainer Container { get; set; }
private static ASPxGridView Grid { get { return Container.Grid; } }
Get
Return Container.Grid
End Get
See Also
GridViewBaseTemplateContainer Class