Infragistics(R) NetAdvantage(R) for WPF
About GridView


Glossary Item Box

You can use the GridView class in conjunction with xamDataPresenter to present Records in a tabular format just like the xamDataGrid control. The GridView class and the xamDataGrid control both share a common GridViewSettings object that controls their behavior; therefore, any topic for xamDataGrid ViewSettings will also apply to a xamDataPresenter control using a GridView object.

For example, you can make a small change to the code in the Changing the Record Orientation topic and apply it to xamDataPresenter.

In XAML:


<igDP:XamDataPresenter Name="xamDataPresenter1" BindToSampleData="True">
	<igDP:XamDataPresenter.View>
	
	<!--
	<igDP:XamDataGrid.ViewSettings>
		<igDP:GridViewSettings Orientation="Horizontal" />
	</igDP:XamDataGrid.ViewSettings>
	-->
	
		<igDP:GridView>
			<igDP:GridView.ViewSettings>
				<igDP:GridViewSettings Orientation="Horizontal" />
			</igDP:GridView.ViewSettings>
		</igDP:GridView>
	</igDP:XamDataPresenter.View>
</igDP:XamDataPresenter>