<UserControl
	x:Class="AgApp.PageTestCombo"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
	xmlns:teleriknav="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
	xmlns:telerikMP="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.MediaPlayer"
	xmlns:localization="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
	xmlns:local="clr-namespace:AgApp"
	MinHeight="444" MinWidth="888"
	>
	<UserControl.Resources>
		<Style TargetType="Border" x:Key="SocketBorder">
			<Setter Property="Background" Value="White" />
			<Setter Property="Padding" Value="9" />
			<Setter Property="BorderThickness" Value="1" />
			<Setter Property="BorderBrush" Value="#ffA0ACB7" />
			<Setter Property="CornerRadius" Value="3" />
		</Style>
		<Style TargetType="TextBlock" x:Key="TextInfoHeader">
			<Setter Property="FontWeight" Value="Bold" />
			<Setter Property="Foreground" Value="#ff333333" />
			<Setter Property="Margin" Value="0,5,0,0" />
		</Style>
		<Style TargetType="TextBlock" x:Key="TextInfoDescription">
			<Setter Property="Margin" Value="9,0,0,0" />
			<Setter Property="Foreground" Value="#ff333333" />
		</Style>
	</UserControl.Resources>
	<Grid x:Name="LayoutRoot" Background="WhiteSmoke" ShowGridLines="False" >
		<Grid.RowDefinitions>
			<RowDefinition Height="*" />
			<RowDefinition Height="*" />
			<!--<RowDefinition Height="*" />-->
		</Grid.RowDefinitions>
		<Grid Grid.Row="0" Margin="9" >
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="9" />
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="9" />
				<ColumnDefinition Width="*" />
			</Grid.ColumnDefinitions>
			<Border Grid.Column="0" Grid.Row="0" Style="{StaticResource SocketBorder}">
				<local:MyPanel SizeChanged="MyPanel_SizeChanged">
					<telerik:RadUpload
						x:Name="radUpload"
						IsMultiselect="True" OverwriteExistingFiles="True"
						HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
						MinWidth="135" MaxHeight="999" Width="246" 
						UploadServiceUrl="../MyRadUploadHandler.ashx" TargetFolder="MyStorageFolder"
						/>
				</local:MyPanel>
			</Border>
			<Border Grid.Row="0" Grid.Column="4" Style="{StaticResource SocketBorder}">
				<Grid Margin="3">
					<!--<Grid.ColumnDefinitions>
						<ColumnDefinition Width="*" />
						<ColumnDefinition Width="*" />
					</Grid.ColumnDefinitions>-->
					<Grid.RowDefinitions>
						<RowDefinition Height="Auto" />
						<RowDefinition Height="Auto" />
						<RowDefinition Height="*" />
					</Grid.RowDefinitions>
					<StackPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Orientation="Horizontal">
						<!--<telerik:RadColorPicker MouseLeftButtonDown="RadColorPicker_MouseLeftButtonDown"
								SelectedColorChanged="RadColorPicker_SelectedColorChanged"
								Click="RadColorPicker_Click" SelectedColor="Black"
								HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,9,0" />-->
						<teleriknav:RadToolBar HorizontalAlignment="Left"
								VerticalAlignment="Top">
							<!--<telerik:RadColorPicker MouseLeftButtonDown="RadColorPicker_MouseLeftButtonDown"
									SelectedColorChanged="RadColorPicker_SelectedColorChanged"
									Click="RadColorPicker_Click" SelectedColor="Black"
									NoColorText="(my) Auto" MainPaletteHeaderText="(office) Colors"
									StandardPaletteHeaderText="(my) Colors" />-->
							<telerik:RadColorPicker MouseLeftButtonDown="RadColorPicker_MouseLeftButtonDown"
									SelectedColorChanged="RadColorPicker_SelectedColorChanged"
									Click="RadColorPicker_Click" SelectedColor="Black" />
						</teleriknav:RadToolBar>
						<StackPanel Orientation="Vertical" Margin="9,0,0,0">
							<CheckBox Content="Show Empty Color" VerticalAlignment="Bottom" IsChecked="True"
									Checked="CheckBox_Checked" Unchecked="CheckBox_Unchecked" />
							<CheckBox Content="Standard Palette" IsChecked="True" VerticalAlignment="Bottom"
									Checked="CheckBox_Checked" Unchecked="CheckBox_Unchecked" />
							<CheckBox Content="Header Palette" IsChecked="True" VerticalAlignment="Bottom"
									Checked="CheckBox_Checked" Unchecked="CheckBox_Unchecked" />
						</StackPanel>
					</StackPanel>
					<!--<telerik:RadColorSelector Grid.Row="1" Grid.Column="0" x:Name="colorSelector1"
							SelectedColorChanged="ColorSelector_SelectedColorChanged"
							NoColorText="(my) Auto" MainPaletteHeaderText="(office) Colors"
							StandardPaletteHeaderText="(my) Colors" />-->
					<telerik:RadColorSelector Grid.Row="1" Grid.Column="1" x:Name="colorSelector2"
							SelectedColorChanged="ColorSelector_SelectedColorChanged"
							HorizontalAlignment="Center"/>
					<TextBox Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" x:Name="textBox"
							Margin="0,3,0,0" MinHeight="77" Background="White" TextWrapping="Wrap"
							HorizontalAlignment="Stretch"
							Text="The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog." />
				</Grid>
			</Border>
			<Border Grid.Row="0" Grid.Column="2" Style="{StaticResource SocketBorder}">
				<Grid Grid.Row="0" Grid.Column="2" Margin="3">
					<!--<Grid.ColumnDefinitions>
						<ColumnDefinition Width="*" />
						<ColumnDefinition Width="*" />
					</Grid.ColumnDefinitions>
					<teleriknav:RadTreeView
						Grid.Column="0" x:Name="radTreeView1"
						IsDragDropEnabled="True" IsDragTooltipEnabled="True" IsExpandOnSingleClickEnabled="True"
						TextDropAfter="(my) drag after " TextDropBefore="(my) drag before " TextDropIn="(my) drag in ">
						<teleriknav:RadTreeViewItem Header="item 1" IsExpanded="True">
							<teleriknav:RadTreeViewItem Header="item 1.1" />
							<teleriknav:RadTreeViewItem Header="item 1.2" />
							<teleriknav:RadTreeViewItem Header="item 1.3" />
							<teleriknav:RadTreeViewItem Header="item 1.4" />
						</teleriknav:RadTreeViewItem>
						<teleriknav:RadTreeViewItem Header="item 2" IsExpanded="True">
							<teleriknav:RadTreeViewItem Header="item 2.1" />
							<teleriknav:RadTreeViewItem Header="item 2.2" />
							<teleriknav:RadTreeViewItem Header="item 2.3" IsExpanded="True">
								<teleriknav:RadTreeViewItem Header="item 2.3.1" />
								<teleriknav:RadTreeViewItem Header="item 2.3.2" />
								<teleriknav:RadTreeViewItem Header="item 2.3.3" />
								<teleriknav:RadTreeViewItem Header="item 2.3.4" />
							</teleriknav:RadTreeViewItem>
							<teleriknav:RadTreeViewItem Header="item 2.4" />
							<teleriknav:RadTreeViewItem Header="item 2.5" />
						</teleriknav:RadTreeViewItem>
					</teleriknav:RadTreeView>-->
					<teleriknav:RadTreeView
						Grid.Column="1" x:Name="radTreeView2"
						IsDragDropEnabled="True" IsDragTooltipEnabled="True" IsExpandOnSingleClickEnabled="True">
						<teleriknav:RadTreeViewItem Header="item 1" IsExpanded="True">
							<teleriknav:RadTreeViewItem Header="item 1.1" />
							<teleriknav:RadTreeViewItem Header="item 1.2" />
							<teleriknav:RadTreeViewItem Header="item 1.3" />
							<teleriknav:RadTreeViewItem Header="item 1.4" />
						</teleriknav:RadTreeViewItem>
						<teleriknav:RadTreeViewItem Header="item 2" IsExpanded="True">
							<teleriknav:RadTreeViewItem Header="item 2.1" />
							<teleriknav:RadTreeViewItem Header="item 2.2" />
							<teleriknav:RadTreeViewItem Header="item 2.3" IsExpanded="True">
								<teleriknav:RadTreeViewItem Header="item 2.3.1" />
								<teleriknav:RadTreeViewItem Header="item 2.3.2" />
								<teleriknav:RadTreeViewItem Header="item 2.3.3" />
								<teleriknav:RadTreeViewItem Header="item 2.3.4" />
							</teleriknav:RadTreeViewItem>
							<teleriknav:RadTreeViewItem Header="item 2.4" />
							<teleriknav:RadTreeViewItem Header="item 2.5" />
						</teleriknav:RadTreeViewItem>
					</teleriknav:RadTreeView>
				</Grid>
			</Border>
		</Grid>
		<Grid Grid.Row="1" Margin="9,0,9,9">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="9" />
				<ColumnDefinition Width="*" />
			</Grid.ColumnDefinitions>
			<Border Grid.Row="0" Grid.Column="0" Style="{StaticResource SocketBorder}">
				<telerikMP:RadMediaPlayer
					AutoReverse="True" x:Name="radMediaPlayer" AutoPlay="False">
					<telerikMP:RadMediaItem
						Source="http://msstudios.vo.llnwd.net/o21/mix08/08_WMVs/T19.wmv"
						ImageSource="Images/Mix08.png"
						Title="Accessing Windows Live Services via AtomPub"
						Description="Accessing Windows Live Services via ATOM Publishing Protocol(APP)."
						>
						<telerikMP:RadMediaChapter Position="00:10:00" Title="Data Services and AtomPub" />
						<telerikMP:RadMediaChapter Position="00:20:00" Title="Drill Down Photos" />
						<telerikMP:RadMediaChapter Position="00:30:00" Title="Url Conventions" />
						<telerikMP:RadMediaChapter Position="01:00:00" Title="Design Time" />
						<telerikMP:RadMediaChapter Position="01:10:00" Title="Demo" />
					</telerikMP:RadMediaItem>
					<telerikMP:RadMediaItem
						Source="http://msstudios.vo.llnwd.net/o21/mix08/08_WMVs/T03.wmv"
						ImageSource="Images/Mix08.png"
						Title="Adding Instant Messaging to Any Site"
						Description="Learn how your web site visitors can engage with Windows Live Messenger."
						>
						<telerikMP:RadMediaChapter Position="00:10:00" Title="Live Messanger" />
						<telerikMP:RadMediaChapter Position="00:20:00" Title="Authentication" />
						<telerikMP:RadMediaChapter Position="00:30:00" Title="Messaging" />
						<telerikMP:RadMediaChapter Position="00:40:00" Title="Script" />
						<telerikMP:RadMediaChapter Position="00:50:00" Title="Resources" />
						<telerikMP:RadMediaChapter Position="01:00:00" Title="Demo" />
					</telerikMP:RadMediaItem>
				</telerikMP:RadMediaPlayer>
			</Border>
			<Border Grid.Row="0" Grid.Column="2" Style="{StaticResource SocketBorder}">
				<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
					<Grid.RowDefinitions>
						<RowDefinition Height="*" />
						<RowDefinition Height="Auto" />
					</Grid.RowDefinitions>
					<ScrollViewer BorderThickness="0" Margin="0,0,0,9"
						HorizontalAlignment="Center" VerticalAlignment="Center"
						VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
						<StackPanel Orientation="Vertical">
							<TextBlock Style="{StaticResource TextInfoHeader}"
									Text="RadUpload:" />
							<TextBlock Style="{StaticResource TextInfoDescription}"
									Text="Content of the Title, the Total and Buttons depend on chosen localization.&#x0a;Play with the control to preview localized values." />

							<TextBlock Style="{StaticResource TextInfoHeader}"
									Text="RadTreeView:" />
							<TextBlock Style="{StaticResource TextInfoDescription}"
									Text="Drag the tree's items to preview localized values of drop-markers." />

							<TextBlock Style="{StaticResource TextInfoHeader}"
									Text="RadColorPicker &amp; RadColorSelectors:" />
							<TextBlock Style="{StaticResource TextInfoDescription}"
									Text="Labels of the color selector are localized." />

							<TextBlock Style="{StaticResource TextInfoHeader}"
									Text="RadMediaPlayer:" />
							<TextBlock Style="{StaticResource TextInfoDescription}"
									Text="Buttons' tooltips are localized." />

							<TextBlock Style="{StaticResource TextInfoHeader}"
								Text="Standart Button:" />
							<TextBlock Style="{StaticResource TextInfoDescription}"
								Text="See the Button in bottom right side of the page.&#x0a;Its content depends on chosen localization" />

							<TextBlock Style="{StaticResource TextInfoHeader}"
								Text="Standart TextBlock:" />
							<TextBlock Style="{StaticResource TextInfoDescription}"
								Text="This text depends on chosen localization"
								localization:LocalizationManager.ResourceKey="DemoLocalizedTextBlock" />
						</StackPanel>
					</ScrollViewer>
					<Button Grid.Row="99"
						Click="NavigateToIndex"
						Content="Navigate to index page"
						HorizontalAlignment="Right"
						localization:LocalizationManager.ResourceKey="DemoBtnNavigateToIndex" />
				</Grid>
			</Border>
		</Grid>
	</Grid>
</UserControl>
