Rev 2420 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2420 | Rev 2432 | ||
---|---|---|---|
1 | <UserControl x:Class="MKLiveView.GMapCustomMarkers.CustomMarkerWP" |
1 | <UserControl x:Class="MKLiveView.GMapCustomMarkers.CustomMarkerWP" |
2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | Height="23" Width="23"> |
4 | Height="23" Width="23"> |
5 | <Grid Height="23" VerticalAlignment="Top" HorizontalAlignment="Left" Width="23"> |
5 | <Grid Height="23" VerticalAlignment="Top" HorizontalAlignment="Left" Width="23"> |
6 | <Grid x:Name="gLanding" Margin="-7,-7,-3,-5"> |
6 | <Grid x:Name="gLanding" Margin="-7,-7,-3,-5"> |
7 | <Ellipse x:Name="landing" Stroke="Magenta" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StrokeThickness="2" Margin="4,4,0,2" Width="29" Height="29"> |
7 | <Ellipse x:Name="landing" Stroke="Magenta" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StrokeThickness="2" Margin="4,4,0,2" Width="29" Height="29"> |
8 | <Ellipse.Fill> |
8 | <Ellipse.Fill> |
9 | <RadialGradientBrush> |
9 | <RadialGradientBrush> |
10 | <GradientStop Color="#FF660066" Offset="1"/> |
10 | <GradientStop Color="#FF660066" Offset="1"/> |
11 | <GradientStop Color="#FFFD00CF" Offset="0.908"/> |
11 | <GradientStop Color="#FFFD00CF" Offset="0.908"/> |
12 | <GradientStop Color="#665B4F59" Offset="0.796"/> |
12 | <GradientStop Color="#665B4F59" Offset="0.796"/> |
13 | </RadialGradientBrush> |
13 | </RadialGradientBrush> |
14 | </Ellipse.Fill> |
14 | </Ellipse.Fill> |
15 | <Ellipse.Effect> |
15 | <Ellipse.Effect> |
16 | <DropShadowEffect Direction="40" Opacity="0.79" Color="#FF342E2E" ShadowDepth="3"/> |
16 | <DropShadowEffect Direction="40" Opacity="0.79" Color="#FF342E2E" ShadowDepth="3"/> |
17 | </Ellipse.Effect> |
17 | </Ellipse.Effect> |
18 | </Ellipse> |
18 | </Ellipse> |
19 | <TextBox Height="27" Text="H" Width="27" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{Binding Stroke, ElementName=landing}" HorizontalContentAlignment="Center" FontSize="22" FontWeight="ExtraBold" VerticalContentAlignment="Stretch" Margin="5,2,1,6" AllowDrop="False" IsReadOnly="True" IsUndoEnabled="False"> |
19 | <TextBox Height="27" Text="H" Width="27" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{Binding Stroke, ElementName=landing}" HorizontalContentAlignment="Center" FontSize="22" FontWeight="ExtraBold" VerticalContentAlignment="Stretch" Margin="5,2,1,6" AllowDrop="False" IsReadOnly="True" IsUndoEnabled="False" Focusable="False" IsHitTestVisible="False" IsTabStop="False"> |
20 | <TextBox.Effect> |
20 | <TextBox.Effect> |
21 | <DropShadowEffect BlurRadius="2" ShadowDepth="0"/> |
21 | <DropShadowEffect BlurRadius="2" ShadowDepth="0"/> |
22 | </TextBox.Effect> |
22 | </TextBox.Effect> |
23 | </TextBox> |
23 | </TextBox> |
24 | </Grid> |
24 | </Grid> |
25 | <Ellipse x:Name="ellipse" Stroke="Magenta" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StrokeThickness="2" Visibility="Hidden"> |
25 | <Ellipse x:Name="ellipse" Stroke="Magenta" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StrokeThickness="2" Visibility="Hidden"> |
26 | <Ellipse.Fill> |
26 | <Ellipse.Fill> |
27 | <RadialGradientBrush> |
27 | <RadialGradientBrush> |
28 | <GradientStop Color="#FF660066" Offset="1"/> |
28 | <GradientStop Color="#FF660066" Offset="1"/> |
29 | <GradientStop Color="#FFFD00CF"/> |
29 | <GradientStop Color="#FFFD00CF"/> |
30 | </RadialGradientBrush> |
30 | </RadialGradientBrush> |
31 | </Ellipse.Fill> |
31 | </Ellipse.Fill> |
32 | <Ellipse.Effect> |
32 | <Ellipse.Effect> |
33 | <DropShadowEffect BlurRadius="9" Direction="40" Opacity="0.79" Color="#FF342E2E"/> |
33 | <DropShadowEffect BlurRadius="9" Direction="40" Opacity="0.79" Color="#FF342E2E"/> |
34 | </Ellipse.Effect> |
34 | </Ellipse.Effect> |
35 | </Ellipse> |
35 | </Ellipse> |
36 | <Rectangle x:Name="rect" HorizontalAlignment="Left" Height="21" Margin="1,1,0,0" Stroke="Red" VerticalAlignment="Top" Width="21" RenderTransformOrigin="0.5,0.5" RadiusY="1.978" RadiusX="1.978" StrokeThickness="1.6" Visibility="Hidden"> |
36 | <Rectangle x:Name="rect" HorizontalAlignment="Left" Height="21" Margin="1,1,0,0" Stroke="Red" VerticalAlignment="Top" Width="21" RenderTransformOrigin="0.5,0.5" RadiusY="1.978" RadiusX="1.978" StrokeThickness="1.6" Visibility="Hidden"> |
37 | <Rectangle.Effect> |
37 | <Rectangle.Effect> |
38 | <DropShadowEffect Direction="64" ShadowDepth="2" BlurRadius="11"/> |
38 | <DropShadowEffect Direction="64" ShadowDepth="2" BlurRadius="11"/> |
39 | </Rectangle.Effect> |
39 | </Rectangle.Effect> |
40 | <Rectangle.Fill> |
40 | <Rectangle.Fill> |
41 | <RadialGradientBrush> |
41 | <RadialGradientBrush> |
42 | <GradientStop Color="#FF660000" Offset="1"/> |
42 | <GradientStop Color="#FF660000" Offset="1"/> |
43 | <GradientStop Color="#FFFD0000" Offset="0.417"/> |
43 | <GradientStop Color="#FFFD0000" Offset="0.417"/> |
44 | </RadialGradientBrush> |
44 | </RadialGradientBrush> |
45 | </Rectangle.Fill> |
45 | </Rectangle.Fill> |
46 | <Rectangle.RenderTransform> |
46 | <Rectangle.RenderTransform> |
47 | <TransformGroup> |
47 | <TransformGroup> |
48 | <ScaleTransform/> |
48 | <ScaleTransform/> |
49 | <SkewTransform/> |
49 | <SkewTransform/> |
50 | <RotateTransform Angle="45"/> |
50 | <RotateTransform Angle="45"/> |
51 | <TranslateTransform/> |
51 | <TranslateTransform/> |
52 | </TransformGroup> |
52 | </TransformGroup> |
53 | </Rectangle.RenderTransform> |
53 | </Rectangle.RenderTransform> |
54 | </Rectangle> |
54 | </Rectangle> |
55 | <TextBox x:Name="text" HorizontalAlignment="Center" Height="18" Margin="-2,2,-2,3" TextWrapping="Wrap" Text="P25" VerticalAlignment="Center" Width="27" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="#FFFFFEFE" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="11" AllowDrop="False" Focusable="False" IsReadOnly="True" IsUndoEnabled="False" IsTabStop="False" IsHitTestVisible="False"> |
55 | <TextBox x:Name="text" HorizontalAlignment="Center" Height="18" Margin="-2,2,-2,3" TextWrapping="Wrap" Text="P25" VerticalAlignment="Center" Width="27" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="#FFFFFEFE" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="11" AllowDrop="False" Focusable="False" IsReadOnly="True" IsUndoEnabled="False" IsTabStop="False" IsHitTestVisible="False"> |
56 | <TextBox.Effect> |
56 | <TextBox.Effect> |
57 | <DropShadowEffect BlurRadius="0" ShadowDepth="1" Direction="-45.2"/> |
57 | <DropShadowEffect BlurRadius="0" ShadowDepth="1" Direction="-45.2"/> |
58 | </TextBox.Effect> |
58 | </TextBox.Effect> |
59 | </TextBox> |
59 | </TextBox> |
60 | </Grid> |
60 | </Grid> |
61 | </UserControl> |
61 | </UserControl> |