<!--
	Copyright (c) Microsoft. All rights reserved.
-->

<UserControl x:Class="MOX.RadialCollection"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:vsm='using:Windows.UI.Xaml'
	xmlns:mox="using:MOX"
	IsTabStop="false"
	>
	<UserControl.Resources>
		<!-- Temporary hack until we can bind directly to colors -->
		<Rectangle Fill="{CustomResource :mso_brush:2402}" x:Key="RMUISubmenuMouseOver" />
		<!-- end hack -->
		<Style x:Key="RMButton" TargetType="Button">
			<Setter Property="Width" Value="26" />
			<Setter Property="Height" Value="24" />
			<Setter Property="HorizontalAlignment" Value="Center" />
			<Setter Property="VerticalAlignment" Value="Center" />
			<Setter Property="IsTabStop" Value="false" />
			<Setter Property="RenderTransform">
				<Setter.Value>
					<CompositeTransform />
				</Setter.Value>
			</Setter>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<Grid MinWidth="0" Width="26" Height="24" Visibility="{Binding IsVisible, Converter={StaticResource BoolToVisibility}}">
							<vsm:VisualStateManager.VisualStateGroups>
								<vsm:VisualStateGroup x:Name="CommonStates">
									<vsm:VisualState x:Name="Normal">
										<Storyboard>
											<DoubleAnimation Duration="0:0:0.15" To="1"  Storyboard.TargetName="Icon" Storyboard.TargetProperty="(UIElement.Opacity)" />
										</Storyboard>
									</vsm:VisualState>
									<vsm:VisualState x:Name="Disabled">
										<Storyboard>
											<DoubleAnimation Duration="0:0:0.15" To="0.3"  Storyboard.TargetName="Icon" Storyboard.TargetProperty="(UIElement.Opacity)" />
										</Storyboard>
									</vsm:VisualState>
								</vsm:VisualStateGroup>
							</vsm:VisualStateManager.VisualStateGroups>
							<Grid MinWidth="0" Width="26" Height="24" x:Name="Icon">
								<Image
									x:Name="Image"
									Height="20"
									Width="20"
									Stretch="Uniform"
									IsHitTestVisible="false"
									HorizontalAlignment="Center"
									VerticalAlignment="Center"
									>
									<Image.Source>
										<mox:SmartImageSource IsHighContrastInverted="true" Tcid="{Binding TcidImage, Mode=OneWay}" />
									</Image.Source>
								</Image>
								<Border
									Background="{CustomResource :mso_brush:2404}"
									BorderThickness="0"
									VerticalAlignment="Top"
									HorizontalAlignment="Right"
									Margin="0,1,0,0"
									Width="11"
									Visibility="{Binding ShowValueAsString, Converter={StaticResource BoolToVisibility}}"
									>
									<TextBlock
										Foreground="{CustomResource :mso_brush:2406}"
										FontSize="10.667"
										FontFamily="Segoe UI"
										FontWeight="Semilight"
										Text="{Binding ValueAsString, Mode=OneWay}"
										TextAlignment="Left"
										/>
								</Border>
								<Rectangle
									Height="5"
									Width="20"
									Margin="0,0,0,2"
									VerticalAlignment="Bottom"
									HorizontalAlignment="Center"
									Visibility="{Binding ShowValueAsColor, Converter={StaticResource BoolToVisibility}}"
									Fill="{Binding ValueAsColor, Mode=OneWay}"
									/>
							</Grid>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="RMLabel" TargetType="Button">
			<Setter Property="IsTabStop" Value="false" />
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<Grid
							Visibility="{Binding IsVisible, Converter={StaticResource BoolToVisibility}}"
							HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
							VerticalAlignment="{TemplateBinding VerticalAlignment}"
							>
							<vsm:VisualStateManager.VisualStateGroups>
								<vsm:VisualStateGroup x:Name="CommonStates">
									<vsm:VisualState x:Name="Normal">
										<Storyboard>
											<DoubleAnimation Duration="0:0:0.15" To="1"  Storyboard.TargetName="textLabel" Storyboard.TargetProperty="(UIElement.Opacity)" />
										</Storyboard>
									</vsm:VisualState>
									<vsm:VisualState x:Name="Disabled">
										<Storyboard>
											<DoubleAnimation Duration="0:0:0.15" To="0.3"  Storyboard.TargetName="textLabel" Storyboard.TargetProperty="(UIElement.Opacity)" />
										</Storyboard>
									</vsm:VisualState>
								</vsm:VisualStateGroup>
							</vsm:VisualStateManager.VisualStateGroups>
							<TextBlock
								x:Name="textLabel"
								Text="{Binding Label, Mode=OneWay}"
								Foreground="{CustomResource :mso_brush:2406}"
								Style="{StaticResource MsoTextBlockExtraSmallSemilight}"
								Height="41"
								Width="47"
								TextWrapping="Wrap"
								TextAlignment="Center"
								/>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="RMHoverStroke" TargetType="Path">
			<Setter Property="StrokeThickness" Value="2" />
			<Setter Property="StrokeStartLineCap" Value="Flat" />
			<Setter Property="StrokeEndLineCap" Value="Flat" />
			<Setter Property="StrokeMiterLimit" Value="10" />
			<Setter Property="StrokeLineJoin" Value="Miter" />
			<Setter Property="Stretch" Value="Fill" />
			<Setter Property="Stroke" Value="{CustomResource :mso_brush:2398}" />
			<Setter Property="Opacity" Value="0" />
		</Style>
		<Style x:Key="RMSelectedStroke" TargetType="Path">
			<Setter Property="StrokeThickness" Value="1" />
			<Setter Property="StrokeStartLineCap" Value="Flat" />
			<Setter Property="StrokeEndLineCap" Value="Flat" />
			<Setter Property="StrokeMiterLimit" Value="10" />
			<Setter Property="StrokeLineJoin" Value="Miter" />
			<Setter Property="Stretch" Value="Fill" />
			<Setter Property="Stroke" Value="{CustomResource :mso_brush:2398}" />
		</Style>
		<Style x:Key="SMLSwatch" TargetType="Path">
			<Setter Property="StrokeThickness" Value="0" />
			<Setter Property="Stretch" Value="Fill" />
			<Setter Property="UseLayoutRounding" Value="false" />
			<Setter Property="Stretch" Value="Fill" />
			<Setter Property="VerticalAlignment" Value="Stretch" />
			<Setter Property="HorizontalAlignment" Value="Stretch" />
			<Setter Property="Fill" Value="{CustomResource :mso_brush:2401}" />
		</Style>
		<Style x:Key="SMLArrow" TargetType="Path">
			<Setter Property="StrokeThickness" Value="0" />
			<Setter Property="UseLayoutRounding" Value="False" />
			<Setter Property= "Stretch" Value="Fill" />
			<Setter Property="Fill" Value="{CustomResource :mso_brush:2404}" />
		</Style>
		<Storyboard x:Name="storyboardRootOpen">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotation)" Storyboard.TargetName="SMLRing">
				<EasingDoubleKeyFrame KeyTime="0" Value="-45">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="-45">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.117" Value="-34.5048"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.217" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.267" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="SMLRing">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.5">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0.749939">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.117" Value="0.80826"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.217" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.267" Value="1.01"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="SMLRing">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.5">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0.749939">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.117" Value="0.80826"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.217" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.267" Value="1.01"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SMLRing">
				<EasingDoubleKeyFrame KeyTime="0" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.117" Value="0.233228"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.217" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="imgInnerBackground">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.75">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0.925899"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.217" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="imgInnerBackground">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.75">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0.925899"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.217" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="imgInnerBackground">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotation)" Storyboard.TargetName="ActionGrid">
				<EasingDoubleKeyFrame KeyTime="0" Value="-45">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="-13.3382"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.217" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="ActionGrid">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.75">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0.925899"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.217" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="ActionGrid">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.75">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0.925899"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.217" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ActionGrid">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="storyboardRootClose">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotation)" Storyboard.TargetName="SMLRing">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.05" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.083" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.183" Value="-34.5048"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="-45">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="SMLRing">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.05" Value="1.01"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.083" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.183" Value="0.80826"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.749939">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0.5">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="SMLRing">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.05" Value="1.01"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.083" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.183" Value="0.80826"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.749939">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0.5">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SMLRing">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.083" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.183" Value="0.233228"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="imgInnerBackground">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.083" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.925899"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0.75">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="imgInnerBackground">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.083" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.925899"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0.75">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="imgInnerBackground">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotation)" Storyboard.TargetName="ActionGrid">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.083" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="-13.3382"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-45">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="ActionGrid">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.083" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.925899"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0.75">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="ActionGrid">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.083" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.925899"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0.75">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ActionGrid">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="storyboardShowSubmenu">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="ActionGrid">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.75"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.283" Value="0.75"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.367" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="ActionGrid">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.75"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.283" Value="0.75"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.367" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ActionGrid">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.283" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.367" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="imgInnerBackground">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.9"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.283" Value="0.9"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.367" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="imgInnerBackground">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.9"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.283" Value="0.9"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.367" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="imgInnerBackground">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.217" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="SMLRing">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.778146"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.333" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="SMLRing">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.778146"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.333" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SMLRing">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.333" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="storyboardHideSubmenu">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="ActionGrid">
				<EasingDoubleKeyFrame KeyTime="0:0:0.033" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.117" Value="0.75"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="ActionGrid">
				<EasingDoubleKeyFrame KeyTime="0:0:0.033" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.117" Value="0.75"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ActionGrid">
				<EasingDoubleKeyFrame KeyTime="0:0:0.033" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.117" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="imgInnerBackground">
				<EasingDoubleKeyFrame KeyTime="0:0:0.033" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.117" Value="0.9"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="imgInnerBackground">
				<EasingDoubleKeyFrame KeyTime="0:0:0.033" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.117" Value="0.9"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="imgInnerBackground">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.25" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="SMLRing">
				<EasingDoubleKeyFrame KeyTime="0:0:0.117" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="0.778146"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="SMLRing">
				<EasingDoubleKeyFrame KeyTime="0:0:0.117" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="0.778146"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SMLRing">
				<EasingDoubleKeyFrame KeyTime="0:0:0.117" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.25" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="storyboardShowLabels">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="LabelGrid">
				<EasingDoubleKeyFrame KeyTime="0:0:0.17" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimation Duration="0:0:0.25" To="-13" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="btnAction0" />
			<DoubleAnimation Duration="0:0:0.25" To="-15" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="btnAction1" />
			<DoubleAnimation Duration="0:0:0.25" To="-1" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="btnAction1" />
			<DoubleAnimation Duration="0:0:0.25" To="-11" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="btnAction2" />
			<DoubleAnimation Duration="0:0:0.25" To="-7" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="btnAction3" />
			<DoubleAnimation Duration="0:0:0.25" To="-1" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="btnAction3" />
			<DoubleAnimation Duration="0:0:0.25" To="-7" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="btnAction4" />
			<DoubleAnimation Duration="0:0:0.25" To="-7" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="btnAction5" />
			<DoubleAnimation Duration="0:0:0.25" To="1" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="btnAction5" />
			<DoubleAnimation Duration="0:0:0.25" To="-11" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="btnAction6" />
			<DoubleAnimation Duration="0:0:0.25" To="1" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="btnAction7" />
			<DoubleAnimation Duration="0:0:0.25" To="-15" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="btnAction7" />
		</Storyboard>
	</UserControl.Resources>
	<Grid x:Name="LayoutRoot" Height="266" Width="266" IsHitTestVisible="false" FlowDirection="LeftToRight">
		<vsm:VisualStateManager.VisualStateGroups >
			<vsm:VisualStateGroup x:Name="HoverStates">
				<vsm:VisualStateGroup.Transitions>
					<vsm:VisualTransition To="Hover0" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<DoubleAnimation To="1" Duration="0" Storyboard.TargetName="pathHover0" Storyboard.TargetProperty="Opacity" />
						</Storyboard>
					</vsm:VisualTransition>
					<vsm:VisualTransition To="Hover1" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<DoubleAnimation To="1" Duration="0" Storyboard.TargetName="pathHover1" Storyboard.TargetProperty="Opacity" />
						</Storyboard>
					</vsm:VisualTransition>
					<vsm:VisualTransition To="Hover2" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<DoubleAnimation To="1" Duration="0" Storyboard.TargetName="pathHover2" Storyboard.TargetProperty="Opacity" />
						</Storyboard>
					</vsm:VisualTransition>
					<vsm:VisualTransition To="Hover3" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<DoubleAnimation To="1" Duration="0" Storyboard.TargetName="pathHover3" Storyboard.TargetProperty="Opacity" />
						</Storyboard>
					</vsm:VisualTransition>
					<vsm:VisualTransition To="Hover4" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<DoubleAnimation To="1" Duration="0" Storyboard.TargetName="pathHover4" Storyboard.TargetProperty="Opacity" />
						</Storyboard>
					</vsm:VisualTransition>
					<vsm:VisualTransition To="Hover5" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<DoubleAnimation To="1" Duration="0" Storyboard.TargetName="pathHover5" Storyboard.TargetProperty="Opacity" />
						</Storyboard>
					</vsm:VisualTransition>
					<vsm:VisualTransition To="Hover6" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<DoubleAnimation To="1" Duration="0" Storyboard.TargetName="pathHover6" Storyboard.TargetProperty="Opacity" />
						</Storyboard>
					</vsm:VisualTransition>
					<vsm:VisualTransition To="Hover7" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<DoubleAnimation To="1" Duration="0" Storyboard.TargetName="pathHover7" Storyboard.TargetProperty="Opacity" />
						</Storyboard>
					</vsm:VisualTransition>
					<vsm:VisualTransition To="HoverSML0" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<ColorAnimation To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Duration="0" Storyboard.TargetName="pathSML0" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
						</Storyboard>
					</vsm:VisualTransition>
					<vsm:VisualTransition To="HoverSML1" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<ColorAnimation To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Duration="0" Storyboard.TargetName="pathSML1" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
						</Storyboard>
					</vsm:VisualTransition>
					<vsm:VisualTransition To="HoverSML2" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<ColorAnimation To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Duration="0" Storyboard.TargetName="pathSML2" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
						</Storyboard>
					</vsm:VisualTransition>
					<vsm:VisualTransition To="HoverSML3" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<ColorAnimation To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Duration="0" Storyboard.TargetName="pathSML3" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
						</Storyboard>
					</vsm:VisualTransition>
					<vsm:VisualTransition To="HoverSML4" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<ColorAnimation To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Duration="0" Storyboard.TargetName="pathSML4" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
						</Storyboard>
					</vsm:VisualTransition>
					<vsm:VisualTransition To="HoverSML5" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<ColorAnimation To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Duration="0" Storyboard.TargetName="pathSML5" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
						</Storyboard>
					</vsm:VisualTransition>
					<vsm:VisualTransition To="HoverSML6" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<ColorAnimation To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Duration="0" Storyboard.TargetName="pathSML6" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
						</Storyboard>
					</vsm:VisualTransition>
					<vsm:VisualTransition To="HoverSML7" GeneratedDuration="0:0:0.3">
						<Storyboard>
							<ColorAnimation To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Duration="0" Storyboard.TargetName="pathSML7" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
						</Storyboard>
					</vsm:VisualTransition>
				</vsm:VisualStateGroup.Transitions>
				<vsm:VisualState x:Name="HoverNone" />
				<vsm:VisualState x:Name="Hover0">
					<Storyboard>
						<DoubleAnimation Duration="0" To="1" Storyboard.TargetName="pathHover0" Storyboard.TargetProperty="Opacity" />
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="Hover1">
					<Storyboard>
						<DoubleAnimation Duration="0" To="1" Storyboard.TargetName="pathHover1" Storyboard.TargetProperty="Opacity" />
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="Hover2">
					<Storyboard>
						<DoubleAnimation Duration="0" To="1" Storyboard.TargetName="pathHover2" Storyboard.TargetProperty="Opacity" />
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="Hover3">
					<Storyboard>
						<DoubleAnimation Duration="0" To="1" Storyboard.TargetName="pathHover3" Storyboard.TargetProperty="Opacity" />
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="Hover4">
					<Storyboard>
						<DoubleAnimation Duration="0" To="1" Storyboard.TargetName="pathHover4" Storyboard.TargetProperty="Opacity" />
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="Hover5">
					<Storyboard>
						<DoubleAnimation Duration="0" To="1" Storyboard.TargetName="pathHover5" Storyboard.TargetProperty="Opacity" />
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="Hover6">
					<Storyboard>
						<DoubleAnimation Duration="0" To="1" Storyboard.TargetName="pathHover6" Storyboard.TargetProperty="Opacity" />
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="Hover7">
					<Storyboard>
						<DoubleAnimation Duration="0" To="1" Storyboard.TargetName="pathHover7" Storyboard.TargetProperty="Opacity" />
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="HoverSML0">
					<Storyboard>
						<ColorAnimation Duration="0" To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Storyboard.TargetName="pathSML0" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="HoverSML1">
					<Storyboard>
						<ColorAnimation Duration="0" To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Storyboard.TargetName="pathSML1" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="HoverSML2">
					<Storyboard>
						<ColorAnimation Duration="0" To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Storyboard.TargetName="pathSML2" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="HoverSML3">
					<Storyboard>
						<ColorAnimation Duration="0" To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Storyboard.TargetName="pathSML3" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="HoverSML4">
					<Storyboard>
						<ColorAnimation Duration="0" To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Storyboard.TargetName="pathSML4" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="HoverSML5">
					<Storyboard>
						<ColorAnimation Duration="0" To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Storyboard.TargetName="pathSML5" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="HoverSML6">
					<Storyboard>
						<ColorAnimation Duration="0" To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Storyboard.TargetName="pathSML6" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="HoverSML7">
					<Storyboard>
						<ColorAnimation Duration="0" To="{Binding Fill.Color, Source={StaticResource RMUISubmenuMouseOver}}" Storyboard.TargetName="pathSML7" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" />
					</Storyboard>
				</vsm:VisualState>
			</vsm:VisualStateGroup>
		</vsm:VisualStateManager.VisualStateGroups>
		<Grid Name="SMLRing" Width="266" Height="266" RenderTransformOrigin="0.5,0.5">
			<Grid.RenderTransform>
				<CompositeTransform />
			</Grid.RenderTransform>
			<Viewbox Name="SMLControl" Margin="6,7,10,8" >
				<Canvas Name="SMLCanvas" Width="225" Height="224">
					<Path Name="pathSML0" Style="{StaticResource SMLSwatch}" Width="90.795" Height="31.013" Canvas.Left="68.055" Canvas.Top="-6.985" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" Data="F1 M70.420486,11.879965 L78.506821,30.048998 C89.815018,25.424196 99.90509,24.415724 111.21309,24.415724 C122.52209,24.415724 132.6068,25.906212 143.91679,30.530012 L152.21817,11.720171 C139.53317,6.5268712 125.05331,2.5888362 112.38032,2.5888362 C99.703415,2.5888362 83.105385,6.6856623 70.420486,11.879965 z" />
					<Path Name="pathSML1" Style="{StaticResource SMLSwatch}"  Width="69.963" Height="72.033" Canvas.Left="151.437" Canvas.Top="4.023" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" Data="F1 M145.54074,31.312481 C168.06975,40.762482 181.33624,54.872723 190.79024,77.403824 L208.57227,69.69532 C197.97926,44.418133 178.95401,23.095169 153.68001,12.506267 L145.54074,31.312481 z" />
					<Path Name="pathSML2" Style="{StaticResource SMLSwatch}"  Width="27.807" Height="86.807" Canvas.Left="202.781" Canvas.Top="69.676" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" Data="F1 M191.79718,142.73419 L208.93526,149.86266 C219.31725,124.49966 219.57103,97.015831 209.18803,71.656334 L192.10054,79.289558 C201.34453,101.90316 201.04117,120.1152 191.79718,142.73419 z" />
					<Path Name="pathSML3" Style="{StaticResource SMLSwatch}"  Width="69.245" Height="69.132" Canvas.Left="151.493" Canvas.Top="150.535" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" Data="F1 M145.59248,190.40709 L153.02403,206.78731 C178.30203,196.19431 197.38509,177.41003 207.97409,152.13603 L190.58389,144.50204 C181.13188,167.03204 166.79126,181.66753 145.59248,190.40709 z" />
					<Path Name="pathSML4" Style="{StaticResource SMLSwatch}"  Width="88.267" Height="27.584" Canvas.Left="69.287" Canvas.Top="202.216" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" Data="F1 M71.529861,207.89729 C84.21386,213.0903 98.326828,215.91385 111.00163,215.91385 C123.67663,215.91385 138.36586,212.83757 151.05086,207.64458 L143.66978,191.06355 C132.36278,195.68655 122.57102,198.14206 111.26102,198.14206 C99.953033,198.14206 89.867905,195.78751 78.556908,191.16451 L71.529861,207.89729 z" />
					<Path Name="pathSML5" Style="{StaticResource SMLSwatch}"  Width="69.6" Height="68.964" Canvas.Left="5.579" Canvas.Top="151.096" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" Data="F1 M14.133243,152.29524 C24.725843,177.57224 44.484814,196.55234 69.759216,207.14134 L76.836647,190.4581 C54.310249,181.0061 41.250286,167.54164 31.793682,145.00865 L14.133243,152.29524 z" />
					<Path Name="pathSML6" Style="{StaticResource SMLSwatch}"  Width="28.934" Height="88.042" Canvas.Left="-4.762" Canvas.Top="69.002" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" Data="F1 M11.976132,71.048386 C1.5932596,96.410782 2.9074736,125.00717 13.290345,150.36818 L30.885029,143.18947 C21.639128,120.57745 20.981874,101.25163 30.227776,78.631538 L11.976132,71.048386 z" />
					<Path Name="pathSML7" Style="{StaticResource SMLSwatch}"  Width="70.815" Height="71.264" Canvas.Left="4.083" Canvas.Top="4.135" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" Data="F1 M12.784722,69.027008 L30.984457,76.812584 C40.434555,54.285183 54.053864,40.4142 76.584061,30.958601 L68.546318,12.606899 C43.268127,23.199598 23.37372,43.752598 12.784722,69.027008 z" />
				</Canvas>
			</Viewbox>
			<Viewbox Margin="6,7,10,8" >
				<Canvas Name="SMLArrows" Width="225" Height="224">
					<Path Style="{StaticResource SMLArrow}" Data="F1M687.5703,268.5903L678.0483,268.5903L682.8063,263.8293z" Height="5" Canvas.Left="108.819" Canvas.Top="2.291" Width="10" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" />
					<Path Style="{StaticResource SMLArrow}" Data="F1M768.2637,305.958L761.5277,299.224L768.2577,299.224z" Height="7" Canvas.Left="183.282" Canvas.Top="34.877" Width="7" UseLayoutRounding="False" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" />
					<Path Style="{StaticResource SMLArrow}" Data="F1M798.8984,389.4346L798.8984,379.9136L803.6564,384.6726z" Height="9.521" Canvas.Left="216.401" Canvas.Top="106.803" Width="4.758" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" />
					<Path Style="{StaticResource SMLArrow}" Data="F1M761.5293,470.127L768.2633,463.393L768.2633,470.125z" Height="6.734" Canvas.Left="182.765" Canvas.Top="183.647" Width="6.734" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" />
					<Path Style="{StaticResource SMLArrow}" Data="F1M678.0498,500.7637L687.5718,500.7637L682.8128,505.5227z" Height="5" Canvas.Left="108.819" Canvas.Top="217.212" Width="10" UseLayoutRounding="False" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" />
					<Path Style="{StaticResource SMLArrow}" Data="F1M597.3599,463.3955L604.0949,470.1295L597.3619,470.1295z" Height="6.734" Canvas.Left="35.911" Canvas.Top="183.647" Width="6.735" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" />
					<Path Style="{StaticResource SMLArrow}" Data="F1M566.7256,379.9165L566.7256,389.4375L561.9646,384.6785z" Height="9.521" Canvas.Left="4.152" Canvas.Top="106.803" Width="4.761" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" />
		 			<Path Style="{StaticResource SMLArrow}" Data="F1M604.0913,299.2251L597.3603,305.9591L597.3603,299.2261z" Height="6.734" Canvas.Left="35.396" Canvas.Top="35.396" Width="6.731" Visibility="{Binding IsSubmenuEnabled, Converter={StaticResource BoolToVisibility}}" />
				</Canvas>
			</Viewbox>
		</Grid>
		<Image Name="imgInnerBackground"
				Margin="0,2,1,0"
				Height="215" Width="215"
				HorizontalAlignment="Center" VerticalAlignment="Center"
				Stretch="None"
				RenderTransformOrigin="0.5,0.5"
				>
			<Image.Source>
				<mox:SmartImageSource SourcePath="\images\InnerBackground.png" />
			</Image.Source>
			<Image.RenderTransform>
				<CompositeTransform />
			</Image.RenderTransform>
		</Image>
		<Grid x:Name="ActionGrid" RenderTransformOrigin="0.5,0.5">
			<Grid.RenderTransform>
				<CompositeTransform />
			</Grid.RenderTransform>
			<Button Style="{StaticResource RMButton}" Margin="111,51,112,0" Name="btnAction0" IsEnabled="{Binding Enabled, Mode=OneWay}" VerticalAlignment="Top" />
			<Button Style="{StaticResource RMButton}" Margin="0,72,72,0" Name="btnAction1" VerticalAlignment="Top" IsEnabled="{Binding Enabled, Mode=OneWay}" HorizontalAlignment="Right" />
			<Button Style="{StaticResource RMButton}" Margin="0,119,51,122" Name="btnAction2" VerticalAlignment="Stretch" IsEnabled="{Binding Enabled, Mode=OneWay}" HorizontalAlignment="Right" />
			<Button Style="{StaticResource RMButton}" Margin="0,0,72,74" Name="btnAction3" VerticalAlignment="Bottom" IsEnabled="{Binding Enabled, Mode=OneWay}" HorizontalAlignment="Right" />
			<Button Style="{StaticResource RMButton}" Margin="111,0,112,53" Name="btnAction4" VerticalAlignment="Bottom" IsEnabled="{Binding Enabled, Mode=OneWay}" />
			<Button Style="{StaticResource RMButton}" Margin="71,0,0,74" Name="btnAction5" VerticalAlignment="Bottom" IsEnabled="{Binding Enabled, Mode=OneWay}" HorizontalAlignment="Left" />
			<Button Style="{StaticResource RMButton}" Margin="50,110,0,113" Name="btnAction6" VerticalAlignment="Stretch" IsEnabled="{Binding Enabled, Mode=OneWay}" HorizontalAlignment="Left" />
			<Button Style="{StaticResource RMButton}" Margin="71,72,0,0" Name="btnAction7" VerticalAlignment="Top" IsEnabled="{Binding Enabled, Mode=OneWay}" HorizontalAlignment="Left" />
			<Grid x:Name="LabelGrid" Height="266" Width="266" Opacity="0">
				<Button Style="{StaticResource RMLabel}" Margin="100,61,101,0" HorizontalAlignment="Center" VerticalAlignment="Top" IsEnabled="{Binding Enabled, Mode=OneWay}" />
				<Button Style="{StaticResource RMLabel}" Margin="0,80,61,0" HorizontalAlignment="Right" VerticalAlignment="Top" IsEnabled="{Binding Enabled, Mode=OneWay}" />
				<Button Style="{StaticResource RMLabel}" Margin="0,132,41,0" HorizontalAlignment="Right" VerticalAlignment="Top" IsEnabled="{Binding Enabled, Mode=OneWay}" />
				<Button Style="{StaticResource RMLabel}" Margin="0,186,61,0" VerticalAlignment="Top" HorizontalAlignment="Right" IsEnabled="{Binding Enabled, Mode=OneWay}" />
				<Button Style="{StaticResource RMLabel}" Margin="100,207,101,0" HorizontalAlignment="Center" VerticalAlignment="Top" IsEnabled="{Binding Enabled, Mode=OneWay}" />
				<Button Style="{StaticResource RMLabel}" Margin="60,186,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" IsEnabled="{Binding Enabled, Mode=OneWay}" />
				<Button Style="{StaticResource RMLabel}" Margin="40,132,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" IsEnabled="{Binding Enabled, Mode=OneWay}" />
				<Button Style="{StaticResource RMLabel}" Margin="60,80,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" IsEnabled="{Binding Enabled, Mode=OneWay}" />
			</Grid>
			<Viewbox Margin="24,30,26,28" >
				<Canvas x:Name="SelectedCanvas" Height="208" Width="208">
					<Path Style="{StaticResource RMSelectedStroke}" Visibility="{Binding IsSelected, Converter={StaticResource BoolToVisibility}}" Data="M344.2207,299.6763C331.4247,294.5343,318.4687,291.9263,305.6907,291.9263C292.9397,291.9263,280.0137,294.5223,267.2457,299.6433" Height="9.75" Canvas.Left="64.547" Canvas.Top="-1" Width="78.975"/>
					<Path Style="{StaticResource RMSelectedStroke}" Visibility="{Binding IsSelected, Converter={StaticResource BoolToVisibility}}" Data="M401.0322,355.1919C390.2292,329.8339,371.9282,311.5039,346.6022,300.6779" Height="56.514" Canvas.Left="143.903" Canvas.Top="7.752" Width="56.43"/>
					<Path Style="{StaticResource RMSelectedStroke}" Visibility="{Binding IsSelected, Converter={StaticResource BoolToVisibility}}" Data="M402.0107,434.4404C412.2717,408.8674,412.2557,382.9604,401.9577,357.3874" Height="79.053" Canvas.Left="199.259" Canvas.Top="64.461" Width="9.736"/>
					<Path Style="{StaticResource RMSelectedStroke}" Visibility="{Binding IsSelected, Converter={StaticResource BoolToVisibility}}" Data="M346.6035,491.2568C371.9515,480.4248,390.2615,462.0858,401.0565,436.7128" Height="56.544" Canvas.Left="143.905" Canvas.Top="143.786" Width="56.453"/>
					<Path Style="{StaticResource RMSelectedStroke}" Visibility="{Binding IsSelected, Converter={StaticResource BoolToVisibility}}" Data="M267.2031,492.2959C279.9871,497.4289,292.9351,500.0299,305.7041,500.0299C318.4691,500.0299,331.4101,497.4309,344.1881,492.2989" Height="9.734" Canvas.Left="64.504" Canvas.Top="199.37" Width="78.985"/>
					<Path Style="{StaticResource RMSelectedStroke}" Visibility="{Binding IsSelected, Converter={StaticResource BoolToVisibility}}" Data="M210.3726,436.793C221.1896,462.168,239.5206,480.506,264.8916,491.322" Height="56.529" Canvas.Left="7.674" Canvas.Top="143.867" Width="56.519"/>
					<Path Style="{StaticResource RMSelectedStroke}" Visibility="{Binding IsSelected, Converter={StaticResource BoolToVisibility}}" Data="M209.2842,357.7598C199.1382,383.2148,199.1702,408.9958,209.3822,434.4428" Height="78.683" Canvas.Left="-1" Canvas.Top="64.833" Width="9.683"/>
					<Path Style="{StaticResource RMSelectedStroke}" Visibility="{Binding IsSelected, Converter={StaticResource BoolToVisibility}}" Data="M264.9282,300.6406C239.5542,311.4476,221.2172,329.7616,210.3922,355.1096" Height="56.469" Canvas.Left="7.693" Canvas.Top="7.714" Width="56.536"/>
				</Canvas>
			</Viewbox>
			<Viewbox Margin="24,30,26,28" >
				<Canvas x:Name="HoverCanvas" Height="208" Width="208">
					<Path Name="pathHover0" Style="{StaticResource RMHoverStroke}" Data="M344.2207,299.6763C331.4247,294.5343,318.4687,291.9263,305.6907,291.9263C292.9397,291.9263,280.0137,294.5223,267.2457,299.6433" Height="9.75" Canvas.Left="64.547" Canvas.Top="-1" Width="78.975"/>
					<Path Name="pathHover1" Style="{StaticResource RMHoverStroke}" Data="M401.0322,355.1919C390.2292,329.8339,371.9282,311.5039,346.6022,300.6779" Height="56.514" Canvas.Left="143.903" Canvas.Top="7.752" Width="56.43"/>
					<Path Name="pathHover2" Style="{StaticResource RMHoverStroke}" Data="M402.0107,434.4404C412.2717,408.8674,412.2557,382.9604,401.9577,357.3874" Height="79.053" Canvas.Left="199.259" Canvas.Top="64.461" Width="9.736"/>
					<Path Name="pathHover3" Style="{StaticResource RMHoverStroke}" Data="M346.6035,491.2568C371.9515,480.4248,390.2615,462.0858,401.0565,436.7128" Height="56.544" Canvas.Left="143.905" Canvas.Top="143.786" Width="56.453"/>
					<Path Name="pathHover4" Style="{StaticResource RMHoverStroke}" Data="M267.2031,492.2959C279.9871,497.4289,292.9351,500.0299,305.7041,500.0299C318.4691,500.0299,331.4101,497.4309,344.1881,492.2989" Height="9.734" Canvas.Left="64.504" Canvas.Top="199.37" Width="78.985"/>
					<Path Name="pathHover5" Style="{StaticResource RMHoverStroke}" Data="M210.3726,436.793C221.1896,462.168,239.5206,480.506,264.8916,491.322" Height="56.529" Canvas.Left="7.674" Canvas.Top="143.867" Width="56.519"/>
					<Path Name="pathHover6" Style="{StaticResource RMHoverStroke}" Data="M209.2842,357.7598C199.1382,383.2148,199.1702,408.9958,209.3822,434.4428" Height="78.683" Canvas.Left="-1" Canvas.Top="64.833" Width="9.683"/>
					<Path Name="pathHover7" Style="{StaticResource RMHoverStroke}" Data="M264.9282,300.6406C239.5542,311.4476,221.2172,329.7616,210.3922,355.1096" Height="56.469" Canvas.Left="7.693" Canvas.Top="7.714" Width="56.536"/>
				</Canvas>
			</Viewbox>
		</Grid>
	</Grid>
</UserControl>
