<UserControl x:Class="IntersoftPresenter.Page"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
			
	xmlns:ISNet_Silverlight_DataSource="clr-namespace:ISNet.Silverlight.DataSource;assembly=ISNet.Silverlight.DataSource" 
	xmlns:ISNet_Silverlight_Presenter="clr-namespace:ISNet.Silverlight.Presenter;assembly=ISNet.Silverlight.Presenter"	
	xmlns:ISNet_Silverlight_Presenter_AdaptivePresenter="clr-namespace:ISNet.Silverlight.Presenter.AdaptivePresenter;assembly=ISNet.Silverlight.Presenter" 
	xmlns:ISNet_Silverlight_Presenter_GridPresenter="clr-namespace:ISNet.Silverlight.Presenter.GridPresenter;assembly=ISNet.Silverlight.Presenter"	
	mc:Ignorable="d"
	d:DesignWidth="640" d:DesignHeight="480"
    >
    <Grid x:Name="LayoutRoot" Background="White">
        <ISNet_Silverlight_DataSource:AstoriaDataSource x:Name="AstoriaDataSource1"
            ServiceHost="http://localhost:49418" ServiceTarget="NorthwindDataService.svc" 
            ReferenceNamespace="NorthwindDataReference" ServiceTypeName="NorthwindEntities" 
            >
            <ISNet_Silverlight_DataSource:AstoriaDataSource.Services>
                <ISNet_Silverlight_DataSource:AstoriaDataService DataObjectTypeName="Customers" ServiceName="Customers"/>
                <ISNet_Silverlight_DataSource:AstoriaDataService DataObjectTypeName="Products" ServiceName="Products"/>
                <ISNet_Silverlight_DataSource:AstoriaDataService DataObjectTypeName="Employees" ServiceName="Employees"/>
            </ISNet_Silverlight_DataSource:AstoriaDataSource.Services>
        </ISNet_Silverlight_DataSource:AstoriaDataSource>

        <ISNet_Silverlight_Presenter:DataPresenterManager x:Name="DataPresenterManager1" 
            DataSourceID="AstoriaDataSource1" DataMember="Employees">
            <ISNet_Silverlight_Presenter_AdaptivePresenter:IconPresenter 
                    BindingTextField="FirstName" BindingImageSourceField="PhotoPath" 
        			PresenterIcon="Images/Icons/icon-view.png" PresenterCaption="Icon View" PresenterIconSpace="192" 
        			MinColumnSize="160" MinRowSize="160" MaxColumnSize="320" MaxRowSize="320" ColumnSize="160" RowSize="160"/>
            <ISNet_Silverlight_Presenter_AdaptivePresenter:ListPresenter 
                    BindingTextField="FirstName" BindingImageSourceField="PhotoPath" 
        			PresenterIcon="Images/Icons/list-view.png" PresenterCaption="List View"/>
            <ISNet_Silverlight_Presenter_GridPresenter:GridPresenter 
                    PresenterIcon="Images/Icons/grid-view.png" PresenterCaption="Grid View"/>
        </ISNet_Silverlight_Presenter:DataPresenterManager>
    </Grid>
</UserControl>
