Subversion Repositories Projects

Rev

Blame | Last modification | View Log | RSS feed

<UserControl x:Class="MKLiveView.GMapCustomMarkers.CustomMarkerWP"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="23" Width="23">
    <Grid>
        <Grid x:Name="gLanding" Margin="-7,-7,-3,-5">
            <Ellipse x:Name="landing" Stroke="Magenta" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StrokeThickness="2" Margin="4,4,0,2" Width="29" Height="29">
                <Ellipse.Fill>
                    <RadialGradientBrush>
                        <GradientStop Color="#FF660066" Offset="1"/>
                        <GradientStop Color="#FFFD00CF" Offset="0.908"/>
                        <GradientStop Color="#665B4F59" Offset="0.796"/>
                    </RadialGradientBrush>
                </Ellipse.Fill>
                <Ellipse.Effect>
                    <DropShadowEffect Direction="40" Opacity="0.79" Color="#FF342E2E" ShadowDepth="3"/>
                </Ellipse.Effect>
            </Ellipse>
            <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">
                <TextBox.Effect>
                    <DropShadowEffect BlurRadius="2" ShadowDepth="0"/>
                </TextBox.Effect>
            </TextBox>
        </Grid>
        <Ellipse x:Name="ellipse" Stroke="Magenta" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StrokeThickness="2" Visibility="Hidden">
            <Ellipse.Fill>
                <RadialGradientBrush>
                    <GradientStop Color="#FF660066" Offset="1"/>
                    <GradientStop Color="#FFFD00CF"/>
                </RadialGradientBrush>
            </Ellipse.Fill>
            <Ellipse.Effect>
                <DropShadowEffect BlurRadius="9" Direction="40" Opacity="0.79" Color="#FF342E2E"/>
            </Ellipse.Effect>
        </Ellipse>
        <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">
            <Rectangle.Effect>
                <DropShadowEffect Direction="64" ShadowDepth="2" BlurRadius="11"/>
            </Rectangle.Effect>
            <Rectangle.Fill>
                <RadialGradientBrush>
                    <GradientStop Color="#FF660000" Offset="1"/>
                    <GradientStop Color="#FFFD0000" Offset="0.417"/>
                </RadialGradientBrush>
            </Rectangle.Fill>
            <Rectangle.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform Angle="45"/>
                    <TranslateTransform/>
                </TransformGroup>
            </Rectangle.RenderTransform>
        </Rectangle>
        <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">
            <TextBox.Effect>
                <DropShadowEffect BlurRadius="0" ShadowDepth="1" Direction="-45.2"/>
            </TextBox.Effect>
        </TextBox>
    </Grid>
</UserControl>