GridControl.View Property
In This Article
Gets or sets the grid's View. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.dll
#Declaration
[CloneDetailMode(CloneDetailMode.Skip)]
[GridStoreAlwaysProperty]
[XtraSerializableProperty(XtraSerializationVisibility.Content)]
public DataViewBase View { get; set; }
#Property Value
Type | Description |
---|---|
Data |
A Data |
#Remarks
A DXGrid control does not actually display data itself. It uses a View to display data from the bound data source. A View specifies how records and record fields are arranged.
By default, when the grid is created, it initializes the View property with a TableView object. To display hierarchical data in a tree, use the TreeListView.
To learn more, see Views Overview.
See Also