Click here to Skip to main content
15,897,291 members
Articles / Programming Languages / C#

.NET 3.0 WPF Tools and Examples

Rate me:
Please Sign up or sign in to vote.
4.65/5 (73 votes)
22 Mar 2007CPOL21 min read 452.9K   11.6K   233  
An article which shows how to achieve some of the common XAML concepts.
<Grid 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:d="http://schemas.microsoft.com/expression/interactivedesigner/2006"
	mc:Ignorable="d"
	Background="#FF0475BC" 
	x:Name="DocumentRoot"
	x:Class="XAML_MMedia.Scene1" 
	Width="800" Height="600" OpacityMask="sc#1, 0.143417686, 0.252863675, 0.7939532" xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic" MinWidth="800" MinHeight="600" MaxWidth="800" MaxHeight="600">

	<Grid.Resources>
		<Storyboard x:Key="OnLoaded"/>
		<ControlTemplate x:Key="ButtonBaseControlTemplate1" TargetType="{x:Type ButtonBase}">
			<Grid Width="45" Height="45" x:Name="Grid">
				<Grid.ColumnDefinitions>
					<ColumnDefinition/>
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition/>
				</Grid.RowDefinitions>
				<Rectangle Stroke="#FF0475BC" Fill="#FFFFFFFF" RadiusX="6.5" RadiusY="6.5" StrokeThickness="3" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="2.5,2.5,2.5,2.5" Width="Auto" Height="Auto" x:Name="Rectangle"/>
				<ContentPresenter d:IsHidden="True" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,0" x:Name="ContentPresenter" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
			</Grid>
			<ControlTemplate.Triggers>
				<Trigger Property="IsKeyboardFocused" Value="True"/>
				<Trigger Property="IsMouseOver" Value="True">
					<Setter Property="Shape.Fill" Value="sc#1, 0, 0.698253632, 1" TargetName="Rectangle"/>
					<Setter Property="Shape.Stroke" Value="#FF0475BC" TargetName="Rectangle"/>
				</Trigger>
				<Trigger Property="Button.IsDefaulted" Value="True"/>
				<Trigger Property="IsPressed" Value="True">
					<Setter Property="Shape.Stroke" Value="sc#1, 0, 0.6999998, 1" TargetName="Rectangle"/>
					<Setter Property="Shape.Fill" Value="sc#1, 0, 0.6999998, 1" TargetName="Rectangle"/>
				</Trigger>
				<Trigger Property="ToggleButton.IsChecked" Value="True"/>
				<Trigger Property="IsEnabled" Value="False">
					<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
				</Trigger>
			</ControlTemplate.Triggers>
		</ControlTemplate>
		<ControlTemplate x:Key="ButtonBaseControlTemplate2" TargetType="{x:Type ButtonBase}">
			<Microsoft_Windows_Themes:ClassicBorderDecorator Background="{TemplateBinding Background}" x:Name="ContentContainer" SnapsToDevicePixels="True" BorderStyle="Raised" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="3,3,3,3">
				<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}" x:Name="ContentPresenter" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" RecognizesAccessKey="True"/>
			</Microsoft_Windows_Themes:ClassicBorderDecorator>
			<ControlTemplate.Triggers>
				<Trigger Property="IsKeyboardFocused" Value="True">
					<Setter Property="BorderStyle" Value="RaisedFocused" TargetName="ContentContainer"/>
				</Trigger>
				<Trigger Property="Button.IsDefaulted" Value="True">
					<Setter Property="BorderStyle" Value="RaisedFocused" TargetName="ContentContainer"/>
				</Trigger>
				<Trigger Property="IsPressed" Value="True">
					<Setter Property="BorderStyle" Value="RaisedPressed" TargetName="ContentContainer"/>
				</Trigger>
				<Trigger Property="ToggleButton.IsChecked" Value="True">
					<Setter Property="BorderStyle" Value="RaisedPressed" TargetName="ContentContainer"/>
				</Trigger>
				<Trigger Property="IsEnabled" Value="False">
					<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
				</Trigger>
				<Trigger Property="IsMouseOver" Value="True">
					<Setter Property="BorderStyle" Value="RaisedFocused" TargetName="ContentContainer"/>
				</Trigger>			
			</ControlTemplate.Triggers>
		</ControlTemplate>
		<ControlTemplate x:Key="SliderControlTemplate1" TargetType="{x:Type Slider}">
			<Border Width="{TemplateBinding Width}" Background="{TemplateBinding Background}" x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
				<Grid x:Name="Grid">
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="*"/>
					</Grid.ColumnDefinitions>
					<Grid.RowDefinitions>
						<RowDefinition Height="Auto"/>
						<RowDefinition Height="Auto" MinHeight="{TemplateBinding MinHeight}"/>
						<RowDefinition Height="Auto"/>
					</Grid.RowDefinitions>
					<TickBar Visibility="Collapsed" Height="4" x:Name="TopTick" Fill="{TemplateBinding Foreground}" Placement="Top"/>
					<Microsoft_Windows_Themes:ClassicBorderDecorator Margin="0,0,0,1" Height="4" Grid.Row="1" x:Name="TrackBackground" BorderStyle="Sunken" BorderThickness="2,2,2,2">
						<Microsoft_Windows_Themes:ClassicBorderDecorator.BorderBrush>
							<SolidColorBrush/>
						</Microsoft_Windows_Themes:ClassicBorderDecorator.BorderBrush>
						<Canvas Margin="-2,-2,-2,-2" x:Name="Canvas">
							<Rectangle Visibility="Hidden" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Height="4" x:Name="PART_SelectionRange"/>
						</Canvas>
					</Microsoft_Windows_Themes:ClassicBorderDecorator>
					<Track Grid.Row="1" x:Name="PART_Track">
						<Track.DecreaseRepeatButton>
							<RepeatButton x:Name="RepeatButton1" Command="Slider.DecreaseLarge">
								<RepeatButton.Style>
									<Style TargetType="{x:Type RepeatButton}">
										<Setter Property="OverridesDefaultStyle" Value="True"/>
										<Setter Property="IsTabStop" Value="False"/>
										<Setter Property="Focusable" Value="False"/>
										<Setter Property="Background" Value="#00FFFFFF"/>
										<Setter Property="Template">
											<Setter.Value>
												<ControlTemplate TargetType="{x:Type RepeatButton}">
													<Border Background="{TemplateBinding Background}" x:Name="Border"/>
												</ControlTemplate>
											</Setter.Value>
										</Setter>
									</Style>
								</RepeatButton.Style>
							</RepeatButton>
						</Track.DecreaseRepeatButton>
						<Track.IncreaseRepeatButton>
							<RepeatButton x:Name="RepeatButton" Command="Slider.IncreaseLarge">
								<RepeatButton.Style>
									<Style TargetType="{x:Type RepeatButton}">
										<Setter Property="OverridesDefaultStyle" Value="True"/>
										<Setter Property="IsTabStop" Value="False"/>
										<Setter Property="Focusable" Value="False"/>
										<Setter Property="Background" Value="#00FFFFFF"/>
										<Setter Property="Template">
											<Setter.Value>
												<ControlTemplate TargetType="{x:Type RepeatButton}">
													<Border Background="{TemplateBinding Background}" x:Name="Border"/>
												</ControlTemplate>
											</Setter.Value>
										</Setter>
									</Style>
								</RepeatButton.Style>
							</RepeatButton>
						</Track.IncreaseRepeatButton>
						<Track.Thumb>
							<Thumb x:Name="Thumb" OpacityMask="sc#1, 0, 0, 0">
								<Thumb.Style>
									<Style TargetType="{x:Type Thumb}">
										<Setter Property="OverridesDefaultStyle" Value="True"/>
										<Setter Property="Foreground" Value="{x:Null}"/>
										<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
										<Setter Property="Height" Value="21"/>
										<Setter Property="Width" Value="11"/>
										<Setter Property="Template">
											<Setter.Value>
												<ControlTemplate TargetType="{x:Type Thumb}">
													<Microsoft_Windows_Themes:ClassicBorderDecorator Background="{TemplateBinding Background}" x:Name="ClassicBorderDecorator" BorderStyle="Raised" BorderThickness="3,3,3,3">
														<Microsoft_Windows_Themes:ClassicBorderDecorator.BorderBrush>
															<SolidColorBrush/>
														</Microsoft_Windows_Themes:ClassicBorderDecorator.BorderBrush>
														<Rectangle Opacity="0.5" Fill="{TemplateBinding Foreground}" Margin="-1,-1,-1,-1" x:Name="ForegroundRect"/>
													</Microsoft_Windows_Themes:ClassicBorderDecorator>
													<ControlTemplate.Triggers>
														<Trigger Property="IsDragging" Value="True">
															<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
														</Trigger>
														<Trigger Property="IsEnabled" Value="False">
															<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
														</Trigger>
													</ControlTemplate.Triggers>
												</ControlTemplate>
											</Setter.Value>
										</Setter>
									</Style>
								</Thumb.Style>
							</Thumb>
						</Track.Thumb>
					</Track>
					<TickBar Visibility="Collapsed" Height="4" Grid.Row="2" x:Name="BottomTick" Fill="{TemplateBinding Foreground}" Placement="Bottom"/>
				</Grid>
			</Border>
			<ControlTemplate.Triggers>
				<Trigger Property="TickPlacement" Value="TopLeft">
					<Setter Property="Visibility" Value="Visible" TargetName="TopTick"/>
					<Setter Property="Style" TargetName="Thumb">
						<Setter.Value>
							<Style TargetType="{x:Type Thumb}">
								<Setter Property="OverridesDefaultStyle" Value="True"/>
								<Setter Property="Foreground" Value="{x:Null}"/>
								<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
								<Setter Property="Height" Value="21"/>
								<Setter Property="Width" Value="11"/>
								<Setter Property="Template">
									<Setter.Value>
										<ControlTemplate TargetType="{x:Type Thumb}">
											<Canvas x:Name="Canvas" SnapsToDevicePixels="True">
												<Path Fill="{TemplateBinding Background}" x:Name="Path" Data="M11,21L0,21 0,6 5,1 6,1 11,6z"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}" StrokeThickness="1" x:Name="Path1" Data="M0.5,20L0.5,5.5 5,0.5 5.5,0.5"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlDarkDarkBrushKey}}" StrokeThickness="1" x:Name="Path2" Data="M5.5,0.5L6,0.5 10.5,5.5 10.5,20.5 0,20.5"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" StrokeThickness="1" x:Name="Path3" Data="M1.5,19L1.5,5.5 5,1.5 5.5,1.5"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" StrokeThickness="1" x:Name="Path4" Data="M5.5,1.5L6,1.5 9.5,5.5 9.5,19.5 1,19.5"/>
												<Path Opacity="0.5" Fill="{TemplateBinding Foreground}" x:Name="Path5" Data="M9,19L2,19 2,6 5.5,2 9,6z"/>
											</Canvas>
											<ControlTemplate.Triggers>
												<Trigger Property="IsDragging" Value="True">
													<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
												</Trigger>
												<Trigger Property="IsEnabled" Value="False">
													<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
												</Trigger>
											</ControlTemplate.Triggers>
										</ControlTemplate>
									</Setter.Value>
								</Setter>
							</Style>
						</Setter.Value>
					</Setter>
					<Setter Property="Margin" Value="0,3,0,0" TargetName="TrackBackground"/>
				</Trigger>
				<Trigger Property="TickPlacement" Value="BottomRight">
					<Setter Property="Visibility" Value="Visible" TargetName="BottomTick"/>
					<Setter Property="Style" TargetName="Thumb">
						<Setter.Value>
							<Style TargetType="{x:Type Thumb}">
								<Setter Property="OverridesDefaultStyle" Value="True"/>
								<Setter Property="Foreground" Value="{x:Null}"/>
								<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
								<Setter Property="Height" Value="21"/>
								<Setter Property="Width" Value="11"/>
								<Setter Property="Template">
									<Setter.Value>
										<ControlTemplate TargetType="{x:Type Thumb}">
											<Canvas x:Name="Canvas" SnapsToDevicePixels="True">
												<Path Fill="{TemplateBinding Background}" x:Name="Path" Data="M11,0L0,0 0,15 5,21 6,21 11,15z"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}" StrokeThickness="1" x:Name="Path1" Data="M10,0.5L0.5,0.5 0.5,15.5 5,20.5 5.5,20.5"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlDarkDarkBrushKey}}" StrokeThickness="1" x:Name="Path2" Data="M5.5,20.5L6,20.5 10.5,15.5 10.5,0"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" StrokeThickness="1" x:Name="Path3" Data="M9,1.5L1.5,1.5 1.5,15.5 5,19.5 5.5,19.5"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" StrokeThickness="1" x:Name="Path4" Data="M5.5,19.5L6,19.5 9.5,15.5 9.5,1"/>
												<Path Opacity="0.5" Fill="{TemplateBinding Foreground}" x:Name="Path5" Data="M9,2L2,2 2,15 5.5,19 9,15z"/>
											</Canvas>
											<ControlTemplate.Triggers>
												<Trigger Property="IsDragging" Value="True">
													<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
												</Trigger>
												<Trigger Property="IsEnabled" Value="False">
													<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
												</Trigger>
											</ControlTemplate.Triggers>
										</ControlTemplate>
									</Setter.Value>
								</Setter>
							</Style>
						</Setter.Value>
					</Setter>
					<Setter Property="Margin" Value="0,0,0,3" TargetName="TrackBackground"/>
				</Trigger>
				<Trigger Property="TickPlacement" Value="Both">
					<Setter Property="Visibility" Value="Visible" TargetName="TopTick"/>
					<Setter Property="Visibility" Value="Visible" TargetName="BottomTick"/>
				</Trigger>
				<Trigger Property="IsSelectionRangeEnabled" Value="True">
					<Setter Property="Visibility" Value="Visible" TargetName="PART_SelectionRange"/>
				</Trigger>
			</ControlTemplate.Triggers>
		</ControlTemplate>
		<ControlTemplate x:Key="SliderControlTemplate2" TargetType="{x:Type Slider}">
			<Border Width="{TemplateBinding Width}" Background="{TemplateBinding Background}" x:Name="Border" BorderBrush="sc#0, 0, 0, 0" BorderThickness="{TemplateBinding BorderThickness}">
				<Grid x:Name="Grid">
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="*"/>
					</Grid.ColumnDefinitions>
					<Grid.RowDefinitions>
						<RowDefinition Height="Auto"/>
						<RowDefinition Height="Auto" MinHeight="{TemplateBinding MinHeight}"/>
						<RowDefinition Height="Auto"/>
					</Grid.RowDefinitions>
					<TickBar Visibility="Collapsed" Height="4" x:Name="TopTick" Fill="{TemplateBinding Foreground}" Placement="Top"/>
					<Microsoft_Windows_Themes:ClassicBorderDecorator Margin="0,0,0,1" Height="4" Grid.Row="1" x:Name="TrackBackground" BorderStyle="Sunken" BorderThickness="2,2,2,2">
						<Microsoft_Windows_Themes:ClassicBorderDecorator.BorderBrush>
							<SolidColorBrush/>
						</Microsoft_Windows_Themes:ClassicBorderDecorator.BorderBrush>
						<Canvas Margin="-2,-2,-2,-2" x:Name="Canvas">
							<Rectangle Visibility="Hidden" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Height="4" x:Name="PART_SelectionRange"/>
						</Canvas>
					</Microsoft_Windows_Themes:ClassicBorderDecorator>
					<Track Grid.Row="1" x:Name="PART_Track">
						<Track.DecreaseRepeatButton>
							<RepeatButton x:Name="RepeatButton1" Command="Slider.DecreaseLarge">
								<RepeatButton.Style>
									<Style TargetType="{x:Type RepeatButton}">
										<Setter Property="OverridesDefaultStyle" Value="True"/>
										<Setter Property="IsTabStop" Value="False"/>
										<Setter Property="Focusable" Value="False"/>
										<Setter Property="Background" Value="#00FFFFFF"/>
										<Setter Property="Template">
											<Setter.Value>
												<ControlTemplate TargetType="{x:Type RepeatButton}">
													<Border Background="{TemplateBinding Background}" x:Name="Border"/>
												</ControlTemplate>
											</Setter.Value>
										</Setter>
									</Style>
								</RepeatButton.Style>
							</RepeatButton>
						</Track.DecreaseRepeatButton>
						<Track.IncreaseRepeatButton>
							<RepeatButton x:Name="RepeatButton" Command="Slider.IncreaseLarge">
								<RepeatButton.Style>
									<Style TargetType="{x:Type RepeatButton}">
										<Setter Property="OverridesDefaultStyle" Value="True"/>
										<Setter Property="IsTabStop" Value="False"/>
										<Setter Property="Focusable" Value="False"/>
										<Setter Property="Background" Value="#00FFFFFF"/>
										<Setter Property="Template">
											<Setter.Value>
												<ControlTemplate TargetType="{x:Type RepeatButton}">
													<Border Background="{TemplateBinding Background}" x:Name="Border"/>
												</ControlTemplate>
											</Setter.Value>
										</Setter>
									</Style>
								</RepeatButton.Style>
							</RepeatButton>
						</Track.IncreaseRepeatButton>
						<Track.Thumb>
							<Thumb Background="sc#1, 0, 0, 0" x:Name="Thumb" OpacityMask="sc#1, 0, 0, 0" Foreground="sc#1, 1, 1, 1" BorderBrush="sc#1, 0, 0, 0">
								<Thumb.Style>
									<Style TargetType="{x:Type Thumb}">
										<Setter Property="OverridesDefaultStyle" Value="True"/>
										<Setter Property="Foreground" Value="{x:Null}"/>
										<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
										<Setter Property="Height" Value="21"/>
										<Setter Property="Width" Value="11"/>
										<Setter Property="Template">
											<Setter.Value>
												<ControlTemplate TargetType="{x:Type Thumb}">
													<Microsoft_Windows_Themes:ClassicBorderDecorator Background="{TemplateBinding Background}" x:Name="ClassicBorderDecorator" BorderStyle="Raised" BorderThickness="3,3,3,3">
														<Microsoft_Windows_Themes:ClassicBorderDecorator.BorderBrush>
															<SolidColorBrush/>
														</Microsoft_Windows_Themes:ClassicBorderDecorator.BorderBrush>
														<Rectangle Opacity="0.5" Fill="{TemplateBinding Foreground}" Margin="-1,-1,-1,-1" x:Name="ForegroundRect"/>
													</Microsoft_Windows_Themes:ClassicBorderDecorator>
													<ControlTemplate.Triggers>
														<Trigger Property="IsDragging" Value="True">
															<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
														</Trigger>
														<Trigger Property="IsEnabled" Value="False">
															<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
														</Trigger>
													</ControlTemplate.Triggers>
												</ControlTemplate>
											</Setter.Value>
										</Setter>
									</Style>
								</Thumb.Style>
							</Thumb>
						</Track.Thumb>
					</Track>
					<TickBar Visibility="Collapsed" Height="4" Grid.Row="2" x:Name="BottomTick" Fill="{TemplateBinding Foreground}" Placement="Bottom"/>
				</Grid>
			</Border>
			<ControlTemplate.Triggers>
				<Trigger Property="TickPlacement" Value="TopLeft">
					<Setter Property="Visibility" Value="Visible" TargetName="TopTick"/>
					<Setter Property="Style" TargetName="Thumb">
						<Setter.Value>
							<Style TargetType="{x:Type Thumb}">
								<Setter Property="OverridesDefaultStyle" Value="True"/>
								<Setter Property="Foreground" Value="{x:Null}"/>
								<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
								<Setter Property="Height" Value="21"/>
								<Setter Property="Width" Value="11"/>
								<Setter Property="Template">
									<Setter.Value>
										<ControlTemplate TargetType="{x:Type Thumb}">
											<Canvas x:Name="Canvas" SnapsToDevicePixels="True">
												<Path Fill="{TemplateBinding Background}" x:Name="Path" Data="M11,21L0,21 0,6 5,1 6,1 11,6z"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}" StrokeThickness="1" x:Name="Path1" Data="M0.5,20L0.5,5.5 5,0.5 5.5,0.5"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlDarkDarkBrushKey}}" StrokeThickness="1" x:Name="Path2" Data="M5.5,0.5L6,0.5 10.5,5.5 10.5,20.5 0,20.5"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" StrokeThickness="1" x:Name="Path3" Data="M1.5,19L1.5,5.5 5,1.5 5.5,1.5"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" StrokeThickness="1" x:Name="Path4" Data="M5.5,1.5L6,1.5 9.5,5.5 9.5,19.5 1,19.5"/>
												<Path Opacity="0.5" Fill="{TemplateBinding Foreground}" x:Name="Path5" Data="M9,19L2,19 2,6 5.5,2 9,6z"/>
											</Canvas>
											<ControlTemplate.Triggers>
												<Trigger Property="IsDragging" Value="True">
													<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
												</Trigger>
												<Trigger Property="IsEnabled" Value="False">
													<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
												</Trigger>
											</ControlTemplate.Triggers>
										</ControlTemplate>
									</Setter.Value>
								</Setter>
							</Style>
						</Setter.Value>
					</Setter>
					<Setter Property="Margin" Value="0,3,0,0" TargetName="TrackBackground"/>
				</Trigger>
				<Trigger Property="TickPlacement" Value="BottomRight">
					<Setter Property="Visibility" Value="Visible" TargetName="BottomTick"/>
					<Setter Property="Style" TargetName="Thumb">
						<Setter.Value>
							<Style TargetType="{x:Type Thumb}">
								<Setter Property="OverridesDefaultStyle" Value="True"/>
								<Setter Property="Foreground" Value="{x:Null}"/>
								<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
								<Setter Property="Height" Value="21"/>
								<Setter Property="Width" Value="11"/>
								<Setter Property="Template">
									<Setter.Value>
										<ControlTemplate TargetType="{x:Type Thumb}">
											<Canvas x:Name="Canvas" SnapsToDevicePixels="True">
												<Path Fill="{TemplateBinding Background}" x:Name="Path" Data="M11,0L0,0 0,15 5,21 6,21 11,15z"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}" StrokeThickness="1" x:Name="Path1" Data="M10,0.5L0.5,0.5 0.5,15.5 5,20.5 5.5,20.5"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlDarkDarkBrushKey}}" StrokeThickness="1" x:Name="Path2" Data="M5.5,20.5L6,20.5 10.5,15.5 10.5,0"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" StrokeThickness="1" x:Name="Path3" Data="M9,1.5L1.5,1.5 1.5,15.5 5,19.5 5.5,19.5"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" StrokeThickness="1" x:Name="Path4" Data="M5.5,19.5L6,19.5 9.5,15.5 9.5,1"/>
												<Path Opacity="0.5" Fill="{TemplateBinding Foreground}" x:Name="Path5" Data="M9,2L2,2 2,15 5.5,19 9,15z"/>
											</Canvas>
											<ControlTemplate.Triggers>
												<Trigger Property="IsDragging" Value="True">
													<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
												</Trigger>
												<Trigger Property="IsEnabled" Value="False">
													<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
												</Trigger>
											</ControlTemplate.Triggers>
										</ControlTemplate>
									</Setter.Value>
								</Setter>
							</Style>
						</Setter.Value>
					</Setter>
					<Setter Property="Margin" Value="0,0,0,3" TargetName="TrackBackground"/>
				</Trigger>
				<Trigger Property="TickPlacement" Value="Both">
					<Setter Property="Visibility" Value="Visible" TargetName="TopTick"/>
					<Setter Property="Visibility" Value="Visible" TargetName="BottomTick"/>
				</Trigger>
				<Trigger Property="IsSelectionRangeEnabled" Value="True">
					<Setter Property="Visibility" Value="Visible" TargetName="PART_SelectionRange"/>
				</Trigger>
			</ControlTemplate.Triggers>
		</ControlTemplate>
		<ControlTemplate x:Key="SliderControlTemplate3" TargetType="{x:Type Slider}">
			<Border Width="{TemplateBinding Width}" Background="{TemplateBinding Background}" x:Name="Border" BorderBrush="sc#0, 0, 0, 0" BorderThickness="{TemplateBinding BorderThickness}">
				<Grid x:Name="Grid">
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="*"/>
					</Grid.ColumnDefinitions>
					<Grid.RowDefinitions>
						<RowDefinition Height="Auto"/>
						<RowDefinition Height="Auto" MinHeight="{TemplateBinding MinHeight}"/>
						<RowDefinition Height="Auto"/>
					</Grid.RowDefinitions>
					<TickBar Visibility="Collapsed" Height="4" x:Name="TopTick" Fill="{TemplateBinding Foreground}" Placement="Top"/>
					<Microsoft_Windows_Themes:ClassicBorderDecorator Margin="0,0,0,1" Height="4" Grid.Row="1" x:Name="TrackBackground" BorderStyle="Sunken" BorderThickness="2,2,2,2">
						<Microsoft_Windows_Themes:ClassicBorderDecorator.BorderBrush>
							<SolidColorBrush/>
						</Microsoft_Windows_Themes:ClassicBorderDecorator.BorderBrush>
						<Canvas Margin="-2,-2,-2,-2" x:Name="Canvas">
							<Rectangle Visibility="Hidden" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Height="4" x:Name="PART_SelectionRange"/>
						</Canvas>
					</Microsoft_Windows_Themes:ClassicBorderDecorator>
					<Track Grid.Row="1" x:Name="PART_Track">
						<Track.DecreaseRepeatButton>
							<RepeatButton x:Name="RepeatButton1" Command="Slider.DecreaseLarge">
								<RepeatButton.Style>
									<Style TargetType="{x:Type RepeatButton}">
										<Setter Property="OverridesDefaultStyle" Value="True"/>
										<Setter Property="IsTabStop" Value="False"/>
										<Setter Property="Focusable" Value="False"/>
										<Setter Property="Background" Value="#00FFFFFF"/>
										<Setter Property="Template">
											<Setter.Value>
												<ControlTemplate TargetType="{x:Type RepeatButton}">
													<Border Background="{TemplateBinding Background}" x:Name="Border"/>
												</ControlTemplate>
											</Setter.Value>
										</Setter>
									</Style>
								</RepeatButton.Style>
							</RepeatButton>
						</Track.DecreaseRepeatButton>
						<Track.IncreaseRepeatButton>
							<RepeatButton x:Name="RepeatButton" Command="Slider.IncreaseLarge">
								<RepeatButton.Style>
									<Style TargetType="{x:Type RepeatButton}">
										<Setter Property="OverridesDefaultStyle" Value="True"/>
										<Setter Property="IsTabStop" Value="False"/>
										<Setter Property="Focusable" Value="False"/>
										<Setter Property="Background" Value="#00FFFFFF"/>
										<Setter Property="Template">
											<Setter.Value>
												<ControlTemplate TargetType="{x:Type RepeatButton}">
													<Border Background="{TemplateBinding Background}" x:Name="Border"/>
												</ControlTemplate>
											</Setter.Value>
										</Setter>
									</Style>
								</RepeatButton.Style>
							</RepeatButton>
						</Track.IncreaseRepeatButton>
						<Track.Thumb>
							<Thumb Background="sc#1, 1, 1, 1" x:Name="Thumb" OpacityMask="sc#1, 1, 0.0368257761, 0.0368257761" Foreground="sc#1, 1, 1, 1" BorderBrush="sc#1, 0, 0, 0">
								<Thumb.Style>
									<Style TargetType="{x:Type Thumb}">
										<Setter Property="OverridesDefaultStyle" Value="True"/>
										<Setter Property="Foreground" Value="{x:Null}"/>
										<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
										<Setter Property="Height" Value="21"/>
										<Setter Property="Width" Value="11"/>
										<Setter Property="Template">
											<Setter.Value>
												<ControlTemplate TargetType="{x:Type Thumb}">
													<Microsoft_Windows_Themes:ClassicBorderDecorator Background="{TemplateBinding Background}" x:Name="ClassicBorderDecorator" BorderStyle="Raised" BorderThickness="3,3,3,3">
														<Microsoft_Windows_Themes:ClassicBorderDecorator.BorderBrush>
															<SolidColorBrush/>
														</Microsoft_Windows_Themes:ClassicBorderDecorator.BorderBrush>
														<Rectangle Opacity="0.5" Fill="{TemplateBinding Foreground}" Margin="-1,-1,-1,-1" x:Name="ForegroundRect"/>
													</Microsoft_Windows_Themes:ClassicBorderDecorator>
													<ControlTemplate.Triggers>
														<Trigger Property="IsDragging" Value="True">
															<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
														</Trigger>
														<Trigger Property="IsEnabled" Value="False">
															<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
														</Trigger>
													</ControlTemplate.Triggers>
												</ControlTemplate>
											</Setter.Value>
										</Setter>
									</Style>
								</Thumb.Style>
							</Thumb>
						</Track.Thumb>
					</Track>
					<TickBar Visibility="Collapsed" Height="4" Grid.Row="2" x:Name="BottomTick" Fill="{TemplateBinding Foreground}" Placement="Bottom"/>
				</Grid>
			</Border>
			<ControlTemplate.Triggers>
				<Trigger Property="TickPlacement" Value="TopLeft">
					<Setter Property="Visibility" Value="Visible" TargetName="TopTick"/>
					<Setter Property="Style" TargetName="Thumb">
						<Setter.Value>
							<Style TargetType="{x:Type Thumb}">
								<Setter Property="OverridesDefaultStyle" Value="True"/>
								<Setter Property="Foreground" Value="{x:Null}"/>
								<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
								<Setter Property="Height" Value="21"/>
								<Setter Property="Width" Value="11"/>
								<Setter Property="Template">
									<Setter.Value>
										<ControlTemplate TargetType="{x:Type Thumb}">
											<Canvas x:Name="Canvas" SnapsToDevicePixels="True">
												<Path Fill="{TemplateBinding Background}" x:Name="Path" Data="M11,21L0,21 0,6 5,1 6,1 11,6z"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}" StrokeThickness="1" x:Name="Path1" Data="M0.5,20L0.5,5.5 5,0.5 5.5,0.5"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlDarkDarkBrushKey}}" StrokeThickness="1" x:Name="Path2" Data="M5.5,0.5L6,0.5 10.5,5.5 10.5,20.5 0,20.5"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" StrokeThickness="1" x:Name="Path3" Data="M1.5,19L1.5,5.5 5,1.5 5.5,1.5"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" StrokeThickness="1" x:Name="Path4" Data="M5.5,1.5L6,1.5 9.5,5.5 9.5,19.5 1,19.5"/>
												<Path Opacity="0.5" Fill="{TemplateBinding Foreground}" x:Name="Path5" Data="M9,19L2,19 2,6 5.5,2 9,6z"/>
											</Canvas>
											<ControlTemplate.Triggers>
												<Trigger Property="IsDragging" Value="True">
													<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
												</Trigger>
												<Trigger Property="IsEnabled" Value="False">
													<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
												</Trigger>
											</ControlTemplate.Triggers>
										</ControlTemplate>
									</Setter.Value>
								</Setter>
							</Style>
						</Setter.Value>
					</Setter>
					<Setter Property="Margin" Value="0,3,0,0" TargetName="TrackBackground"/>
				</Trigger>
				<Trigger Property="TickPlacement" Value="BottomRight">
					<Setter Property="Visibility" Value="Visible" TargetName="BottomTick"/>
					<Setter Property="Style" TargetName="Thumb">
						<Setter.Value>
							<Style TargetType="{x:Type Thumb}">
								<Setter Property="OverridesDefaultStyle" Value="True"/>
								<Setter Property="Foreground" Value="{x:Null}"/>
								<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
								<Setter Property="Height" Value="21"/>
								<Setter Property="Width" Value="11"/>
								<Setter Property="Template">
									<Setter.Value>
										<ControlTemplate TargetType="{x:Type Thumb}">
											<Canvas x:Name="Canvas" SnapsToDevicePixels="True">
												<Path Fill="{TemplateBinding Background}" x:Name="Path" Data="M11,0L0,0 0,15 5,21 6,21 11,15z"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}" StrokeThickness="1" x:Name="Path1" Data="M10,0.5L0.5,0.5 0.5,15.5 5,20.5 5.5,20.5"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlDarkDarkBrushKey}}" StrokeThickness="1" x:Name="Path2" Data="M5.5,20.5L6,20.5 10.5,15.5 10.5,0"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" StrokeThickness="1" x:Name="Path3" Data="M9,1.5L1.5,1.5 1.5,15.5 5,19.5 5.5,19.5"/>
												<Path Stroke="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" StrokeThickness="1" x:Name="Path4" Data="M5.5,19.5L6,19.5 9.5,15.5 9.5,1"/>
												<Path Opacity="0.5" Fill="{TemplateBinding Foreground}" x:Name="Path5" Data="M9,2L2,2 2,15 5.5,19 9,15z"/>
											</Canvas>
											<ControlTemplate.Triggers>
												<Trigger Property="IsDragging" Value="True">
													<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
												</Trigger>
												<Trigger Property="IsEnabled" Value="False">
													<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/>
												</Trigger>
											</ControlTemplate.Triggers>
										</ControlTemplate>
									</Setter.Value>
								</Setter>
							</Style>
						</Setter.Value>
					</Setter>
					<Setter Property="Margin" Value="0,0,0,3" TargetName="TrackBackground"/>
				</Trigger>
				<Trigger Property="TickPlacement" Value="Both">
					<Setter Property="Visibility" Value="Visible" TargetName="TopTick"/>
					<Setter Property="Visibility" Value="Visible" TargetName="BottomTick"/>
				</Trigger>
				<Trigger Property="IsSelectionRangeEnabled" Value="True">
					<Setter Property="Visibility" Value="Visible" TargetName="PART_SelectionRange"/>
				</Trigger>
			</ControlTemplate.Triggers>
		</ControlTemplate>
		<DataTemplate x:Key="MediaItemsTemplate">
			<StackPanel x:Name="StackPanel">
				<ItemsControl x:Name="ItemsControl" ItemsSource="{Binding Mode=OneWay, XPath=Item}">
					<ItemsControl.ItemTemplate>
						<DataTemplate>
							<StackPanel x:Name="StackPanel">
								<TextBlock x:Name="TextBlock1" Text="{Binding Mode=OneWay, XPath=Name}"/>
								<Image x:Name="Image" Source="{Binding Mode=OneWay, XPath=Image}"/>
								<TextBlock x:Name="TextBlock2" Text="{Binding Mode=OneWay, XPath=Description}"/>
								<TextBlock x:Name="TextBlock" Text="{Binding Mode=OneWay, XPath=URL}"/>
							</StackPanel>
						</DataTemplate>
					</ItemsControl.ItemTemplate>
				</ItemsControl>
			</StackPanel>
		</DataTemplate>
		<DataTemplate x:Key="MediaItemsTemplate1">
			<StackPanel x:Name="StackPanel">
				<ItemsControl x:Name="ItemsControl" ItemsSource="{Binding Mode=OneWay, XPath=Item}">
					<ItemsControl.ItemTemplate>
						<DataTemplate>
							<StackPanel x:Name="StackPanel">
								<TextBlock x:Name="TextBlock1" Text="{Binding Mode=OneWay, XPath=Name}"/>
								<Image x:Name="Image" Source="{Binding Mode=OneWay, XPath=Image}"/>
								<TextBlock x:Name="TextBlock2" Text="{Binding Mode=OneWay, XPath=Description}"/>
								<TextBlock x:Name="TextBlock" Text="{Binding Mode=OneWay, XPath=URL}"/>
							</StackPanel>
						</DataTemplate>
					</ItemsControl.ItemTemplate>
				</ItemsControl>
			</StackPanel>
		</DataTemplate>
		<DataTemplate x:Key="MediaItemsTemplate2">
			<StackPanel x:Name="StackPanel">
				<ItemsControl x:Name="ItemsControl" ItemsSource="{Binding Mode=OneWay, XPath=Item}">
					<ItemsControl.ItemTemplate>
						<DataTemplate>
							<StackPanel x:Name="StackPanel">
								<TextBlock x:Name="TextBlock1" Text="{Binding Mode=OneWay, XPath=Name}"/>
								<TextBlock x:Name="TextBlock2" Text="{Binding Mode=OneWay, XPath=Description}"/>
								<TextBlock x:Name="TextBlock" Text="{Binding Mode=OneWay, XPath=URL}"/>
							</StackPanel>
						</DataTemplate>
					</ItemsControl.ItemTemplate>
				</ItemsControl>
			</StackPanel>
		</DataTemplate>
		<DataTemplate x:Key="MediaItemsTemplate3">
			<StackPanel x:Name="StackPanel">
				<ItemsControl x:Name="ItemsControl" ItemsSource="{Binding Mode=OneWay, XPath=Item}">
					<ItemsControl.ItemTemplate>
						<DataTemplate>
							<StackPanel x:Name="StackPanel">
								<TextBlock x:Name="TextBlock1" Text="{Binding Mode=OneWay, XPath=Name}"/>
								<TextBlock x:Name="TextBlock2" Text="{Binding Mode=OneWay, XPath=Description}"/>
								<TextBlock x:Name="TextBlock" Text="{Binding Mode=OneWay, XPath=URL}"/>
							</StackPanel>
						</DataTemplate>
					</ItemsControl.ItemTemplate>
				</ItemsControl>
			</StackPanel>
		</DataTemplate>
		<DataTemplate x:Key="MediaItemsTemplate4">
			<StackPanel x:Name="StackPanel">
				<ItemsControl x:Name="ItemsControl" ItemsSource="{Binding Mode=OneWay, XPath=Item}">
					<ItemsControl.ItemTemplate>
						<DataTemplate>
							<StackPanel x:Name="StackPanel">
								<TextBlock x:Name="TextBlock1" Text="{Binding Mode=OneWay, XPath=Name}"/>
								<TextBlock x:Name="TextBlock2" Text="{Binding Mode=OneWay, XPath=Description}"/>
								<TextBlock x:Name="TextBlock" Text="{Binding Mode=OneWay, XPath=URL}"/>
							</StackPanel>
						</DataTemplate>
					</ItemsControl.ItemTemplate>
				</ItemsControl>
			</StackPanel>
		</DataTemplate>
		<DataTemplate x:Key="MediaItemsTemplate5">
			<StackPanel x:Name="StackPanel">
				<ItemsControl x:Name="ItemsControl" ItemsSource="{Binding Mode=OneWay, XPath=Item}">
					<ItemsControl.ItemTemplate>
						<DataTemplate>
							<StackPanel x:Name="StackPanel">
								<TextBlock x:Name="TextBlock1" Text="{Binding Mode=OneWay, XPath=Name}"/>
								<TextBlock x:Name="TextBlock2" Text="{Binding Mode=OneWay, XPath=Description}"/>
								<TextBlock x:Name="TextBlock" Text="{Binding Mode=OneWay, XPath=URL}"/>
							</StackPanel>
						</DataTemplate>
					</ItemsControl.ItemTemplate>
				</ItemsControl>
			</StackPanel>
		</DataTemplate>
		<DataTemplate x:Key="MediaItemsTemplate6">
			<StackPanel x:Name="StackPanel">
				<ItemsControl x:Name="ItemsControl" ItemsSource="{Binding Mode=OneWay, XPath=Item}">
					<ItemsControl.ItemTemplate>
						<DataTemplate>
							<StackPanel x:Name="StackPanel">
								<TextBlock x:Name="TextBlock1" Text="{Binding Mode=OneWay, XPath=Name}"/>
								<TextBlock x:Name="TextBlock2" Text="{Binding Mode=OneWay, XPath=Description}"/>
								<TextBlock x:Name="TextBlock" Text="{Binding Mode=OneWay, XPath=URL}"/>
							</StackPanel>
						</DataTemplate>
					</ItemsControl.ItemTemplate>
				</ItemsControl>
			</StackPanel>
		</DataTemplate>
		<Storyboard x:Key="tlBtnPlay" d:StoryboardName="tlBtnPlay">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(ScaleTransform.ScaleY)" Storyboard.TargetName="btnPlay">
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="-1" KeyTime="00:00:02"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="1" KeyTime="00:00:04"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="tlBtnSelectNew" d:StoryboardName="tlBtnSelectNew">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(ScaleTransform.ScaleY)" Storyboard.TargetName="btnSelectNew">
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="-1" KeyTime="00:00:02.0420000"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="1" KeyTime="00:00:04"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(RangeBase.Maximum)" Storyboard.TargetName="SliderTxtDescription">
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="12" KeyTime="00:00:04"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(RangeBase.Minimum)" Storyboard.TargetName="SliderTxtDescription">
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="8" KeyTime="00:00:04"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<DataTemplate x:Key="MediaItemsTemplate7">
			<StackPanel x:Name="StackPanel">
				<ItemsControl x:Name="ItemsControl" ItemsSource="{Binding Mode=OneWay, XPath=Item}">
					<ItemsControl.ItemTemplate>
						<DataTemplate>
							<StackPanel x:Name="StackPanel">
								<TextBlock x:Name="TextBlock1" Text="{Binding Mode=OneWay, XPath=Name}"/>
								<TextBlock x:Name="TextBlock2" Text="{Binding Mode=OneWay, XPath=Description}"/>
								<TextBlock x:Name="TextBlock" Text="{Binding Mode=OneWay, XPath=URI}"/>
								<Image x:Name="Image" Source="{Binding Mode=OneWay, XPath=ImageURI}"/>
							</StackPanel>
						</DataTemplate>
					</ItemsControl.ItemTemplate>
				</ItemsControl>
			</StackPanel>
		</DataTemplate>
		<Storyboard x:Key="tlSymb1" d:StoryboardName="tlSymb1">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Storyboard.TargetName="txtSymb1">
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="3" KeyTime="00:00:01"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="2" KeyTime="00:00:02"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="1" KeyTime="00:00:03"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Storyboard.TargetName="txtSymb1">
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="3" KeyTime="00:00:01"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="2" KeyTime="00:00:02"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="1" KeyTime="00:00:03"/>
			</DoubleAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" BeginTime="00:00:00" Storyboard.TargetName="txtSymb1">
				<SplineColorKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="sc#0.5, 1, 1, 1" KeyTime="00:00:01"/>
				<SplineColorKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="sc#0.75, 1, 1, 1" KeyTime="00:00:02"/>
				<SplineColorKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="sc#1, 1, 1, 1" KeyTime="00:00:03"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="tlSymb2" d:StoryboardName="tlSymb2">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Storyboard.TargetName="txtSymb2">
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="3" KeyTime="00:00:01"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="2" KeyTime="00:00:02"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="1" KeyTime="00:00:03"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Storyboard.TargetName="txtSymb2">
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="3" KeyTime="00:00:01"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="2" KeyTime="00:00:02"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="1" KeyTime="00:00:03"/>
			</DoubleAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" BeginTime="00:00:00" Storyboard.TargetName="txtSymb2">
				<SplineColorKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="sc#0.5, 1, 1, 1" KeyTime="00:00:01"/>
				<SplineColorKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="sc#0.75, 1, 1, 1" KeyTime="00:00:02"/>
				<SplineColorKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="sc#1, 1, 1, 1" KeyTime="00:00:03"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="tlSymb3" d:StoryboardName="tlSymb3">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Storyboard.TargetName="txtSymb3">
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="3" KeyTime="00:00:01"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="2" KeyTime="00:00:02"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="1" KeyTime="00:00:03"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Storyboard.TargetName="txtSymb3">
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="3" KeyTime="00:00:01"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="2" KeyTime="00:00:02"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="1" KeyTime="00:00:03"/>
			</DoubleAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" BeginTime="00:00:00" Storyboard.TargetName="txtSymb3">
				<SplineColorKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="sc#0.5, 1, 1, 1" KeyTime="00:00:01"/>
				<SplineColorKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="sc#0.75, 1, 1, 1" KeyTime="00:00:02"/>
				<SplineColorKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="sc#1, 1, 1, 1" KeyTime="00:00:03"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="tlSymb4" d:StoryboardName="tlSymb4">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Storyboard.TargetName="txtSymb4">
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="3" KeyTime="00:00:01"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="2" KeyTime="00:00:02"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="1" KeyTime="00:00:03"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Storyboard.TargetName="txtSymb4">
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="3" KeyTime="00:00:01"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="2" KeyTime="00:00:02"/>
				<SplineDoubleKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="1" KeyTime="00:00:03"/>
			</DoubleAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" BeginTime="00:00:00" Storyboard.TargetName="txtSymb4">
				<SplineColorKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="sc#0.5, 1, 1, 1" KeyTime="00:00:01"/>
				<SplineColorKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="sc#0.75, 1, 1, 1" KeyTime="00:00:02"/>
				<SplineColorKeyFrame d:KeyEase="Linear;Linear;0.5;0.5;0.5;0.5" KeySpline="0.5,0.5,0.5,0.5" Value="sc#1, 1, 1, 1" KeyTime="00:00:03"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
	</Grid.Resources>

	<Grid.Triggers>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard x:Name="OnLoaded_BeginStoryboard" Storyboard="{DynamicResource OnLoaded}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseEnter" SourceName="btnPlay">
			<BeginStoryboard Storyboard="{StaticResource tlBtnPlay}" x:Name="tlBtnPlay_BeginStoryboard"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseEnter" SourceName="btnSelectNew">
			<BeginStoryboard Storyboard="{StaticResource tlBtnSelectNew}" x:Name="tlBtnSelectNew_BeginStoryboard"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseEnter" SourceName="txtSymb1">
			<BeginStoryboard Storyboard="{StaticResource tlSymb1}" x:Name="tlSymb1_BeginStoryboard"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseEnter" SourceName="txtSymb2">
			<BeginStoryboard Storyboard="{StaticResource tlSymb2}" x:Name="tlSymb2_BeginStoryboard"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseEnter" SourceName="txtSymb3">
			<BeginStoryboard Storyboard="{StaticResource tlSymb3}" x:Name="tlSymb3_BeginStoryboard"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseEnter" SourceName="txtSymb4">
			<BeginStoryboard Storyboard="{StaticResource tlSymb4}" x:Name="tlSymb4_BeginStoryboard"/>
		</EventTrigger>
	</Grid.Triggers>
	
	<Grid.ColumnDefinitions>
		<ColumnDefinition Width="0.0175*"/>
		<ColumnDefinition Width="0.41375*"/>
		<ColumnDefinition Width="0.01640625*"/>
		<ColumnDefinition Width="0.55234375*"/>
	</Grid.ColumnDefinitions>
	<Grid.RowDefinitions>
		<RowDefinition Height="39.2438347950898"/>
		<RowDefinition Height="23.7841423000544"/>
		<RowDefinition Height="17.9720229048558"/>
		<RowDefinition Height="25"/>
		<RowDefinition Height="0.40080971659919*"/>
		<RowDefinition Height="0.123481781376518*"/>
		<RowDefinition Height="0.0607287449392715*"/>
		<RowDefinition Height="0.10215649578958*"/>
		<RowDefinition Height="0.203335119842036*"/>
		<RowDefinition Height="0.109488141453404*"/>
	</Grid.RowDefinitions>
	<Grid Margin="0,0,0,-5.6843418860808E-13" Background="#FF0475BC" x:Name="gridOverall" Grid.ColumnSpan="4" Grid.RowSpan="10">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="0.451527076477596*"/>
			<ColumnDefinition Width="0.548472923522404*"/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="68.9740126701575"/>
			<RowDefinition Height="*"/>
			<RowDefinition Height="32"/>
		</Grid.RowDefinitions>
		<Grid Margin="6,6.00000000000001,6,4" Background="#FF0475BC" x:Name="gridLeft" Grid.Row="1" Grid.RowSpan="1">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="276.977328945662"/>
			</Grid.ColumnDefinitions>
			<Grid.RowDefinitions>
				<RowDefinition/>
			</Grid.RowDefinitions>
		</Grid>
		<Grid HorizontalAlignment="Stretch" Margin="352.221661182076,3.00000000000001,20.9999999999993,7" Width="Auto" Background="#FF0475BC" x:Name="gridRight" Grid.Column="0" Grid.Row="1" OpacityMask="sc#1, 0.749520838, 0.131512061, 0.131512061" Grid.RowSpan="1" Grid.ColumnSpan="2">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="9.52267105433901"/>
				<ColumnDefinition Width="319.5"/>
				<ColumnDefinition Width="10"/>
			</Grid.ColumnDefinitions>
			<Grid.RowDefinitions>
				<RowDefinition Height="0.978120411383237*"/>
				<RowDefinition Height="112.767621747442"/>
				<RowDefinition Height="0.0218795886167625*"/>
			</Grid.RowDefinitions>
			<Image HorizontalAlignment="Center" VerticalAlignment="Center" Margin="-70,0,29.2443322364153,15" Width="150" Height="150" Grid.RowSpan="2" Grid.Column="1" x:Name="imgMM"/>
			<Image HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,10,0,0" Width="95" Height="95" Grid.Column="1" x:Name="imgMediaType"/>
			<TextBlock FontSize="36" FontFamily="Arial" FontWeight="Bold" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="126.255667763585,41.0259873298425,-92.755667763585,0" Width="Auto" Height="42" Background="{x:Null}" Grid.Column="1" Grid.ColumnSpan="2" x:Name="txtMediaType1" Foreground="sc#0.6, 1, 1, 1" Text="" TextWrapping="Wrap"/>
			<TextBlock d:LayoutOverrides="Height" FontSize="12" FontFamily="Arial" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="127.142312491889,68,0,0" Width="293.556677635848" Height="42" Background="{x:Null}" Grid.Row="0" Grid.RowSpan="1" Grid.Column="1" Grid.ColumnSpan="2" x:Name="txtMediaType2" Foreground="sc#0.9, 0.9605343, 0.8793489, 0" Text="" TextWrapping="Wrap"/>
		</Grid>
	</Grid>
	<Rectangle Stroke="sc#1, 0, 0, 0" Fill="sc#1, 0, 0, 0" RadiusX="0" RadiusY="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0,0,0,0" Width="Auto" Height="Auto" x:Name="recTitle" Grid.ColumnSpan="4" Grid.RowSpan="2" d:IsLocked="True"/>
	<Label FontSize="24" FontFamily="Arial" Margin="0,0,0,0" x:Name="lblTitle" Grid.ColumnSpan="4" Content="A Mini XAML Application" Foreground="sc#1, 0.9905903, 0.906864464, 0" FontStyle="Normal" FontWeight="Bold"/>
	<Label HorizontalAlignment="Stretch" Margin="2.8421709430404E-14,0,0,0" Width="Auto" x:Name="lblTitleSmall" Grid.Row="1" Grid.ColumnSpan="4" Content="Built Using Microsoft Expression Interactive Designer (Sparkle) &amp; Visual Studio 2005" Foreground="#FFFFFFFF"/>
	<TextBox FontSize="{Binding Value, ElementName=SliderTxtDescription, Mode=Default}" Margin="6,6,6,6" VerticalScrollBarVisibility="Auto" Grid.Row="8" Background="#FF0475BC" x:Name="txtDescription" Foreground="#FFFFFFFF" BorderBrush="#FF0475BC" Text="This is a small application that demonstrates some of the cool things that can be done with XAML, such as templates, databinding, animations and multimedia. I only started to look into this about 2 days ago, and this application is the results of what I have learnt." TextWrapping="Wrap" Grid.ColumnSpan="3"/>
	<Slider d:LayoutOverrides="VerticalAlignment" VerticalAlignment="Bottom" Margin="8,0,12,5.55245079803416" Height="16.9999999999999" Grid.Row="7" Grid.RowSpan="1" x:Name="SliderTxtDescription" Template="{DynamicResource SliderControlTemplate3}" Maximum="13" Minimum="8" Grid.ColumnSpan="3"/>
	<Label d:LayoutOverrides="HorizontalAlignment" FontWeight="Bold" VerticalAlignment="Stretch" Margin="12,1.99999999999994,33.28125,22.6040732398432" Height="Auto" Grid.Row="7" x:Name="lblDescr" Content="Drag the slider to change font size" Foreground="#FFFFFFFF" Grid.ColumnSpan="2"/>
	<Rectangle Stroke="#FF000000" Fill="#FFFFFFFF" RadiusX="25" RadiusY="25" StrokeThickness="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="13,0.0279770951441947,13,7.00000000000006" Width="Auto" Height="Auto" Grid.Row="3" x:Name="recBoundData" Grid.RowSpan="4" Grid.ColumnSpan="3"/>
	<Rectangle Stroke="{x:Null}" Fill="sc#1, 1, 1, 1" RadiusX="0" RadiusY="0" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="1,0.999999999999972,7,0" Width="Auto" Height="30.0000000000001" Grid.Row="4" Grid.Column="1" x:Name="recBounder"/>
	<Rectangle Stroke="{x:Null}" Fill="sc#1, 1, 1, 1" RadiusX="0" RadiusY="0" StrokeThickness="2" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="1,1.00000000000051,2,0" Width="Auto" Height="27.9999999999998" Grid.Row="4" Grid.RowSpan="1" Grid.Column="1" Grid.ColumnSpan="1" x:Name="recFeaturesCutter"/>
	<Grid Margin="10,4.9999999999996,20,4.00000000000006" Grid.Row="5" Grid.Column="1" x:Name="Grid">
		<Grid.ColumnDefinitions>
			<ColumnDefinition/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition/>
		</Grid.RowDefinitions>
		<WrapPanel Margin="0,0,0,0" x:Name="WrapPanel">
			<Button Width="45" Height="45" x:Name="btnPlay" Template="{DynamicResource ButtonBaseControlTemplate1}" Click="playMedia" ToolTip="Click here to play the selected media item">
				<Button.RenderTransform>
					<TransformGroup>
						<TranslateTransform X="0" Y="0"/>
						<ScaleTransform ScaleX="1" ScaleY="1"/>
						<SkewTransform AngleX="0" AngleY="0"/>
						<RotateTransform Angle="0"/>
						<TranslateTransform X="0" Y="0"/>
						<TranslateTransform X="0" Y="0"/>
					</TransformGroup>
				</Button.RenderTransform>
				<Image Width="30" Height="30" x:Name="play_png1" Source="play.png"/>
			</Button>
			<Button Width="45" Height="45" x:Name="btnSelectNew" Template="{DynamicResource ButtonBaseControlTemplate1}" Click="getNewMediaItem" ToolTip="Click here to pick which file to use">
				<Button.RenderTransform>
					<TransformGroup>
						<TranslateTransform X="0" Y="0"/>
						<ScaleTransform ScaleX="1" ScaleY="1"/>
						<SkewTransform AngleX="0" AngleY="0"/>
						<RotateTransform Angle="0"/>
						<TranslateTransform X="0" Y="0"/>
						<TranslateTransform X="0" Y="0"/>
					</TransformGroup>
				</Button.RenderTransform>
				<Image d:LayoutOverrides="None" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0,0,0,0" Width="Auto" Height="32" Grid.Row="4" Grid.RowSpan="2" Grid.Column="1" Grid.ColumnSpan="1" x:Name="UpLoad_png" Source="UpLoad.png"/>
			</Button>
		</WrapPanel>
	</Grid>
	<TextBlock Margin="10,10,15,69.9999999999999" Grid.Row="4" Grid.Column="1" x:Name="txtMainText" Foreground="#FF0475BC" Text="The user may select a new media item to play by clicking on  the upload button. This will change the media file in use within the code behind logic. The user may then click the play button, which will then play the selected file. I had originally wanted to use an XML bound listbox here, where the user selection would update the current media item. However it did not work for some unknown reason." TextWrapping="Wrap"/>
	<TextBox d:LayoutOverrides="Height" FontSize="72" FontFamily="Webdings" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="90.875,0,0,17" Width="60" Height="60" Grid.Row="8" Grid.RowSpan="2" Grid.Column="3" Background="{x:Null}" x:Name="txtSymb1" Foreground="sc#1, 1, 1, 1" BorderBrush="{x:Null}" TextWrapping="Wrap" Text="Õ" RenderTransformOrigin="0.5,0.5">
		<TextBox.RenderTransform>
			<TransformGroup>
				<TranslateTransform X="0" Y="0"/>
				<ScaleTransform ScaleX="1" ScaleY="1"/>
				<SkewTransform AngleX="0" AngleY="0"/>
				<RotateTransform Angle="0"/>
				<TranslateTransform X="0" Y="0"/>
				<TranslateTransform X="0" Y="0"/>
			</TransformGroup>
		</TextBox.RenderTransform>
	</TextBox>
	<TextBox FontSize="48" FontFamily="Webdings" HorizontalAlignment="Left" Margin="155.875,76.5346910799475,0,17" Width="60" Height="60" Grid.Row="8" Grid.RowSpan="2" Grid.Column="3" Background="{x:Null}" x:Name="txtSymb2" Foreground="sc#1, 1, 1, 1" BorderBrush="{x:Null}" TextWrapping="Wrap" Text="Ï" RenderTransformOrigin="0.5,0.5">
		<TextBox.RenderTransform>
			<TransformGroup>
				<TranslateTransform X="0" Y="0"/>
				<ScaleTransform ScaleX="1" ScaleY="1"/>
				<SkewTransform AngleX="0" AngleY="0"/>
				<RotateTransform Angle="0"/>
				<TranslateTransform X="0" Y="0"/>
				<TranslateTransform X="0" Y="0"/>
			</TransformGroup>
		</TextBox.RenderTransform>
	</TextBox>
	<TextBox FontSize="48" FontFamily="Webdings" HorizontalAlignment="Right" Margin="0,77.5346910799475,160,17" Width="60" Height="Auto" Grid.Row="8" Grid.RowSpan="2" Grid.Column="3" Background="{x:Null}" x:Name="txtSymb3" Foreground="sc#1, 1, 1, 1" BorderBrush="{x:Null}" TextWrapping="Wrap" Text="k" RenderTransformOrigin="0.5,0.5">
		<TextBox.RenderTransform>
			<TransformGroup>
				<TranslateTransform X="0" Y="0"/>
				<ScaleTransform ScaleX="1" ScaleY="1"/>
				<SkewTransform AngleX="0" AngleY="0"/>
				<RotateTransform Angle="0"/>
				<TranslateTransform X="0" Y="0"/>
				<TranslateTransform X="0" Y="0"/>
			</TransformGroup>
		</TextBox.RenderTransform>
	</TextBox>
	<TextBox FontSize="48" FontFamily="Webdings" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,95,17" Width="60" Height="60" Grid.Row="8" Grid.RowSpan="2" Grid.Column="3" Background="{x:Null}" x:Name="txtSymb4" Foreground="sc#1, 1, 1, 1" BorderBrush="{x:Null}" TextWrapping="Wrap" Text="N" RenderTransformOrigin="0.5,0.5">
		<TextBox.RenderTransform>
			<TransformGroup>
				<TranslateTransform X="0" Y="0"/>
				<ScaleTransform ScaleX="1" ScaleY="1"/>
				<SkewTransform AngleX="0" AngleY="0"/>
				<RotateTransform Angle="0"/>
				<TranslateTransform X="0" Y="0"/>
				<TranslateTransform X="0" Y="0"/>
			</TransformGroup>
		</TextBox.RenderTransform>
	</TextBox>
	<TextBox VerticalAlignment="Bottom" Margin="118.875,0,67,4" Height="19" Grid.Row="9" Grid.Column="3" Background="{x:Null}" x:Name="txtAnimations" Foreground="sc#1, 1, 1, 1" BorderBrush="{x:Null}" TextWrapping="Wrap" Text="Roll mouse over symbols to start animations"/>
</Grid>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United Kingdom United Kingdom
I currently hold the following qualifications (amongst others, I also studied Music Technology and Electronics, for my sins)

- MSc (Passed with distinctions), in Information Technology for E-Commerce
- BSc Hons (1st class) in Computer Science & Artificial Intelligence

Both of these at Sussex University UK.

Award(s)

I am lucky enough to have won a few awards for Zany Crazy code articles over the years

  • Microsoft C# MVP 2016
  • Codeproject MVP 2016
  • Microsoft C# MVP 2015
  • Codeproject MVP 2015
  • Microsoft C# MVP 2014
  • Codeproject MVP 2014
  • Microsoft C# MVP 2013
  • Codeproject MVP 2013
  • Microsoft C# MVP 2012
  • Codeproject MVP 2012
  • Microsoft C# MVP 2011
  • Codeproject MVP 2011
  • Microsoft C# MVP 2010
  • Codeproject MVP 2010
  • Microsoft C# MVP 2009
  • Codeproject MVP 2009
  • Microsoft C# MVP 2008
  • Codeproject MVP 2008
  • And numerous codeproject awards which you can see over at my blog

Comments and Discussions