You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

GridControl Class

The Data Grid control.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public class GridControl :
    GridDataControlBase,
    IAddChild,
    IDataProviderOwner,
    IDataProviderEvents,
    IDataControllerVisualClient,
    ISupportInitialize,
    IDetailElement<DataControlBase>
Public Class GridControl
    Inherits GridDataControlBase
    Implements IAddChild,
               IDataProviderOwner,
               IDataProviderEvents,
               IDataControllerVisualClient,
               ISupportInitialize,
               IDetailElement(Of DataControlBase)

Remarks

The GridControl is a data-bound control that provides a two-dimensional representation of data from a data source. The GridControl provides tabular, card, and tree (hierarchical) display formats. The GridControl supports a wide array of cell editors, full end-user customization options, advanced data binding and management, layout persistence, fixed columns, validation, UI virtualization, extended record scrolling and much more...

TemplatesOverview

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

Refer to the following topics for information on key features:

Inheritance

See Also