XamDataGrid Class

A DataPresenterBase derived control that uses a GridView and an associated GridViewPanel to arrange DataRecords in a classic grid layout.

The XamDataGrid is essentially a XamDataPresenter that implements a single view i.e., a GridView. It contains the same functionality as a XamDataPresenter that has its XamDataPresenter.View property set to an instance of a GridView, without the ability to dynamically switch between views.

If you need the classic grid layout provided by a GridView and don't need the ability to dynamically switch to other views, you should use the XamDataGrid rather than the XamDataPresenter. It's a bit more convenient to use than the XamDataPresenter since it exposes a ViewSettings property of type GridViewSettings directly off the control for easy manipulation of the properties that control all aspects of grid layout.

Refer to the GridViewSettings topic for detailed information on all available properties.

Refer to the Theory of Operation topic in the Developer's Guide for an explanation of how this control operates.

Refer to the Working with xamDataGrid, xamDataCarousel and xamDataPresenter Styling Points topic in the Developer's Guide for an explanation of how to style the control.


Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also