<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:r="http://mindfusion.eu/reporting/wpf"
	xmlns:l="clr-namespace:MindFusion.Reporting.Wpf.Samples.CS.Barcodes">

	<r:Report x:Key="listBoundReport" FontFamily="Trebuchet MS" FontSize="14">

		<r:Report.Resources>
			<l:EventData x:Key="eventData" />
		</r:Report.Resources>

		<r:Page>

			<r:DataRange Size="100%,200" DataSource="{Binding Path=Items, Source={StaticResource eventData}}"
				Margin="0,0,0,10" Background="#FAFBFF" BorderBrush="#808080" BorderThickness="0,0,0,1">
				<r:DataRange.ItemTemplate>
					<DataTemplate>
						<r:ItemContainer CanOverflow="False">

							<r:Label Location="32,16" Size="454,24" Text="[Address], [Date @ &quot;dddd, MMMM dd, HHtt&quot;]" Foreground="Maroon" />
							<r:Label Location="56,40" Size="430,56" Text="{Binding Name}" Foreground="Maroon" TextAlignment="Center" FontFamily="Buxton Sketch" FontSize="32" />
							<r:Label Location="144,96" Size="256,26" Text="{Binding Location}" Foreground="Maroon" TextAlignment="Center" FontSize="20" />
							<r:Label Location="144,122" Size="256,26" Text="Ticket Nr. [RangeItemCurrent() + 251]" TextAlignment="Center" FontSize="20" />
							<r:Label Location="32,160" Size="200,32" Text="Reduced: $[Price - Price * Discount / 100 @ &quot;0.00&quot;]" Foreground="Maroon" />
							<r:Label Location="400,144" Size="88,48" Text="$[Price @ &quot;0&quot;].-" FontSize="32" FontWeight="Bold" />

							<r:Barcode Location="505,35" Size="144,138" Format="EAN13" Content="{Binding Barcode}">
								<r:Barcode.RenderTransform>
									<RotateTransform Angle="270" CenterX="0.5" CenterY="0.5" />
								</r:Barcode.RenderTransform>
							</r:Barcode>
							
							<r:Label Location="585,82" Size="184,32" Text="Ticket Nr. [RangeItemCurrent() + 251]" TextAlignment="Center" FontSize="18">
								<r:Label.RenderTransform>
									<RotateTransform Angle="270" CenterX="0.5" CenterY="0.5" />
								</r:Label.RenderTransform>
							</r:Label>

						</r:ItemContainer>
					</DataTemplate>
				</r:DataRange.ItemTemplate>
			</r:DataRange>

		</r:Page>
	</r:Report>

</ResourceDictionary>