TableView Class

A View that displays data in a tabular form.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.dll

Declaration

public class TableView :
    GridViewBase,
    IGridViewFactory<ColumnWrapper, RowBaseWrapper>,
    IGridViewFactoryBase,
    ITableView,
    IFormatsOwner,
    IGroupSummaryDisplayMode,
    IDetailElement<DataViewBase>
Public Class TableView
    Inherits GridViewBase
    Implements IGridViewFactory(Of ColumnWrapper, RowBaseWrapper),
               IGridViewFactoryBase,
               ITableView,
               IFormatsOwner,
               IGroupSummaryDisplayMode,
               IDetailElement(Of DataViewBase)

Remarks

The TableView is used by default. The TableView displays data in a two-dimensional table. The bound data is arranged in columns and rows. Grid columns correspond to data fields in a data source, while rows represent data records.

After you created and customized a new instance of the TableView class, you should assign the instance to the GridControl.View property.

TableView_Overview

<dxg:GridControl AutoGenerateColumns="AddNew" 
                 EnableSmartColumnsGeneration="True" 
                 ItemsSource="{Binding Customers}">
    <dxg:GridControl.View>
        <dxg:TableView AllowPerPixelScrolling="True" ShowTotalSummary="True"/>
    </dxg:GridControl.View>
</dxg:GridControl> 

Implements

See Also