Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2316 - 1
<UserControl x:Class="MKLiveView.GMapCustomMarkers.CustomMarkerWP"
2
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
2373 - 4
    Height="23" Width="23">
5
    <Grid Height="23" VerticalAlignment="Top" HorizontalAlignment="Left" Width="23">
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">
8
                <Ellipse.Fill>
9
                    <RadialGradientBrush>
10
                        <GradientStop Color="#FF660066" Offset="1"/>
11
                        <GradientStop Color="#FFFD00CF" Offset="0.908"/>
12
                        <GradientStop Color="#665B4F59" Offset="0.796"/>
13
                    </RadialGradientBrush>
14
                </Ellipse.Fill>
15
                <Ellipse.Effect>
16
                    <DropShadowEffect Direction="40" Opacity="0.79" Color="#FF342E2E" ShadowDepth="3"/>
17
                </Ellipse.Effect>
18
            </Ellipse>
2382 - 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">
2373 - 20
                <TextBox.Effect>
21
                    <DropShadowEffect BlurRadius="2" ShadowDepth="0"/>
22
                </TextBox.Effect>
23
            </TextBox>
24
        </Grid>
25
        <Ellipse x:Name="ellipse" Stroke="Magenta" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StrokeThickness="2" Visibility="Hidden">
2316 - 26
            <Ellipse.Fill>
27
                <RadialGradientBrush>
28
                    <GradientStop Color="#FF660066" Offset="1"/>
29
                    <GradientStop Color="#FFFD00CF"/>
30
                </RadialGradientBrush>
31
            </Ellipse.Fill>
32
            <Ellipse.Effect>
33
                <DropShadowEffect BlurRadius="9" Direction="40" Opacity="0.79" Color="#FF342E2E"/>
34
            </Ellipse.Effect>
35
        </Ellipse>
2373 - 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>
38
                <DropShadowEffect Direction="64" ShadowDepth="2" BlurRadius="11"/>
39
            </Rectangle.Effect>
40
            <Rectangle.Fill>
41
                <RadialGradientBrush>
42
                    <GradientStop Color="#FF660000" Offset="1"/>
43
                    <GradientStop Color="#FFFD0000" Offset="0.417"/>
44
                </RadialGradientBrush>
45
            </Rectangle.Fill>
46
            <Rectangle.RenderTransform>
47
                <TransformGroup>
48
                    <ScaleTransform/>
49
                    <SkewTransform/>
50
                    <RotateTransform Angle="45"/>
51
                    <TranslateTransform/>
52
                </TransformGroup>
53
            </Rectangle.RenderTransform>
54
        </Rectangle>
2382 - 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">
2373 - 56
            <TextBox.Effect>
57
                <DropShadowEffect BlurRadius="0" ShadowDepth="1" Direction="-45.2"/>
58
            </TextBox.Effect>
59
        </TextBox>
2316 - 60
    </Grid>
61
</UserControl>