<UserControl x:Class="Txgy.EWS.Client.PageModule.Views.StereogramView"
             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:lcusb="http://schemas.arction.com/ChartingMVVM/ultimate/"
             xmlns:prism="http://prismlibrary.com/"
             xmlns:md="http://materialdesigninxaml.net/winfx/xaml/themes"
             xmlns:myuc="clr-namespace:Txgy.Controls;assembly=Txgy.Controls"
             prism:ViewModelLocator.AutoWireViewModel="True"
             d:DesignHeight="450"
             d:DesignWidth="800"
             mc:Ignorable="d">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="420" MinWidth="420" />
        </Grid.ColumnDefinitions>
        <Grid>
            <lcusb:LightningChart x:Name="chart"
                                  Title="{Binding ChartTitle}"
                                  Margin="5"
                                  ActiveView="View3D"
                                  ChartBackground="{Binding ChartBackGround}"
                                  ChartName="Polygons 3D Chart">
                <lcusb:LightningChart.View3D>
                    <lcusb:View3D ClipContents="{Binding ClipDispaly}"
                                  Lights="{Binding Lights}"
                                  Rectangles="{Binding ChartDepthLayerCollection}"
                                  PointLineSeries3D="{Binding ChartPointLineCollection}"
                                  Annotations="{Binding ChartAnnotationCollection}"
                                  WallOnBottom="{Binding BottomWall}"
                                  WallOnTop="{Binding TopWall}"
                                  WallOnLeft="{Binding LeftWall}"
                                  WallOnRight="{Binding RightWall}"
                                  WallOnFront="{Binding FrontWall}"
                                  WallOnBack="{Binding BackWall}"
                                  XAxisPrimary3D="{Binding AxisXPri3D}"
                                  YAxisPrimary3D="{Binding AxisYPri3D}"
                                  ZAxisPrimary3D="{Binding AxisZPri3D}">
                        <lcusb:View3D.LegendBox>
                            <lcusb:LegendBox3D Visible="False" />
                        </lcusb:View3D.LegendBox>
                        <lcusb:View3D.Dimensions>
                            <lcusb:SizeDoubleXYZ Width="{Binding WidthRS}"
                                                 Height="{Binding HeightRS}"
                                                 Depth="{Binding DepthRS}" />
                        </lcusb:View3D.Dimensions>
                        <lcusb:View3D.OrientationArrows>
                            <lcusb:OrientationArrowsOptions3D x:Name="orientationArrows"
                                                              Visible="True"
                                                              ArrowLength="50" />
                        </lcusb:View3D.OrientationArrows>
                        <!--<lcusb:View3D.ZoomPanOptions>
                            <lcusb:ZoomPanOptions3D DevicePrimaryButtonAction="Pan" DevicePrimaryButtonDoubleClickAction="Off"/>
                        </lcusb:View3D.ZoomPanOptions>-->
                        <lcusb:View3D.Camera>
                            <lcusb:Camera3D RotationZ="{Binding SideRotationRS, Mode=TwoWay}"
                                            RotationY="{Binding HorizontalRotationRS, Mode=TwoWay}"
                                            RotationX="{Binding VerticalRotationRS, Mode=TwoWay}"
                                            ViewDistance="{Binding DistanceRS, Mode=TwoWay}"
                                            Projection="{Binding ProjectionTypeRS}" />
                        </lcusb:View3D.Camera>
                    </lcusb:View3D>
                </lcusb:LightningChart.View3D>
            </lcusb:LightningChart>
            <myuc:ColorMapBar Width="60"
                              Height="120"
                              Margin="0,0,20,40"
                              HorizontalAlignment="Right"
                              VerticalAlignment="Bottom"
                              TopDepth="200"
                              BottomDepth="900"
                              UcWidth="20" />
        </Grid>
        <ContentControl Grid.Column="1" x:Name="EventListContent"/>
        <!--<local:EventListView Grid.Column="1" Margin="0,5,0,0" />-->
    </Grid>

</UserControl>
