<ListBox ItemsSource="{Binding ElementName=sfDataPager,Path=PagedSource}">
<ListBox.ItemTemplate>
<DataTemplate>
<Grid Margin="3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<TextBlock Margin="0,0,20,0" Text="{Binding Data.OrderID}" Grid.Column="0"/>
<TextBlock Margin="0,0,20,0" Text="{Binding Data.CustomerName}" Grid.Column="1"/>
<TextBlock Margin="0,0,20,0" Text="{Binding Data.Country}" Grid.Column="2"/>
<TextBlock Margin="0,0,20,0" Text="{Binding Data.CustomerID}" Grid.Column="3"/>
<TextBlock Margin="0,0,20,0" Text="{Binding Data.ShipCity}" Grid.Column="4"/>
</Grid>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox> |