Glossary Item Box
When you first start working with a new control, you may not know where to begin. This topic will walk you through, from the beginning, how to create the xamDataPresenter™ control and data bind it using XAML. For information on creating the xamDataPresenter control in procedural code, see Creating xamDataPresenter in Procedural Code.
In XAML:
xmlns:igDP="http://infragistics.com/DataPresenter"
In XAML:
<Grid.Resources>
<XmlDataProvider Source="../Data/Orders.xml"
x:Key="OrderData" XPath="/Orders" />
</Grid.Resources>
In XAML:
<igDP:XamDataPresenter x:Name="XamDataPresenter1"
DataSource="{Binding Source={StaticResource OrderData}, XPath=Order}">
<igDP:XamDataPresenter.View>
<igDP:GridView/>
</igDP:XamDataPresenter.View>
</igDP:XamDataPresenter>

Binding to a Flat SQL Database
Binding to a Hierarchical SQL Database
Binding to an ObervableCollection
Using the Data Context for Data Binding