<UserControl x:Class="Txgy.EWS.Client.PageModule.Views.FocalMechanismView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:Txgy.EWS.Client.PageModule.Views"
             xmlns:prism="http://prismlibrary.com/"
             xmlns:myuc="clr-namespace:Txgy.Controls;assembly=Txgy.Controls"
             d:DesignHeight="1000"
             d:DesignWidth="1000"
             mc:Ignorable="d">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="420" MinWidth="420" />
        </Grid.ColumnDefinitions>
        <Grid Margin="5">
            <Canvas Background="White"
                    MouseWheel="Canvas_MouseWheel"
                    MouseLeftButtonDown="Canvas_MouseLeftButtonDown"
                    MouseLeftButtonUp="Canvas_MouseLeftButtonUp"
                    MouseMove="Canvas_MouseMove"
                    ClipToBounds="True">
                <Viewbox Name="mainView"
                         Canvas.Left="0"
                         Canvas.Top="0">
                    <Canvas x:Name="canvas"
                            Width="920"
                            Height="920"
                            ClipToBounds="True" />
                </Viewbox>
            </Canvas>

            <myuc:ColorMapBar Width="60"
                              Height="120"
                              Margin="0,0,20,40"
                              HorizontalAlignment="Right"
                              VerticalAlignment="Bottom"
                              TopDepth="200"
                              BottomDepth="900"
                              UcWidth="20" />
            <!--<TextBlock x:Name="tbScalse" Text="scale"
                   FontSize="50" />-->
        </Grid>
        <local:EventListView Grid.Column="1" Margin="0,5,0,0" />
    </Grid>
</UserControl>
