|
|
|
|
<UserControl x:Class="Txgy.EWS.Client.PageModule.Views.PlanView"
|
|
|
|
|
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:myuc="clr-namespace:Txgy.Controls;assembly=Txgy.Controls"
|
|
|
|
|
xmlns:md="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
|
|
prism:ViewModelLocator.AutoWireViewModel="True"
|
|
|
|
|
d:DesignHeight="1000"
|
|
|
|
|
d:DesignWidth="1800"
|
|
|
|
|
mc:Ignorable="d">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
<ColumnDefinition Width="420" MinWidth="420" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<md:Card Margin="10,5,5,5"
|
|
|
|
|
UniformCornerRadius="5"
|
|
|
|
|
Background="White">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Canvas x:Name="mainCanvas"
|
|
|
|
|
Margin="5"
|
|
|
|
|
Background="White"
|
|
|
|
|
MouseWheel="Canvas_MouseWheel"
|
|
|
|
|
MouseLeftButtonDown="Canvas_MouseLeftButtonDown"
|
|
|
|
|
MouseLeftButtonUp="Canvas_MouseLeftButtonUp"
|
|
|
|
|
MouseRightButtonDown="Canvas_MouseRightButtonDown"
|
|
|
|
|
MouseRightButtonUp="Canvas_MouseRightButtonUp"
|
|
|
|
|
MouseMove="Canvas_MouseMove"
|
|
|
|
|
MouseLeave="Canvas_MouseLeave"
|
|
|
|
|
ClipToBounds="True">
|
|
|
|
|
<Viewbox Name="mainView"
|
|
|
|
|
Canvas.Left="-100"
|
|
|
|
|
Canvas.Top="0">
|
|
|
|
|
<Canvas x:Name="canvas"
|
|
|
|
|
Width="920"
|
|
|
|
|
Height="920"
|
|
|
|
|
|
|
|
|
|
ToolTipService.ShowDuration="0">
|
|
|
|
|
<Canvas.ToolTip>
|
|
|
|
|
<ToolTip x:Name="tip"
|
|
|
|
|
PlacementTarget="{Binding ElementName=canvas}"
|
|
|
|
|
Content=""
|
|
|
|
|
FontSize="16"
|
|
|
|
|
Visibility="Collapsed">
|
|
|
|
|
</ToolTip>
|
|
|
|
|
</Canvas.ToolTip>
|
|
|
|
|
</Canvas>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
</Canvas>
|
|
|
|
|
<myuc:ColorMapBar Width="60"
|
|
|
|
|
Height="120"
|
|
|
|
|
Margin="0,0,20,40"
|
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
|
VerticalAlignment="Bottom"
|
|
|
|
|
TopDepth="200"
|
|
|
|
|
BottomDepth="900"
|
|
|
|
|
UcWidth="20" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</md:Card>
|
|
|
|
|
<md:Card Grid.Column="1"
|
|
|
|
|
Margin="0,5,5,5"
|
|
|
|
|
md:ThemeAssist.Theme="Light"
|
|
|
|
|
UniformCornerRadius="5">
|
|
|
|
|
<!--<local:EventListView/>-->
|
|
|
|
|
<ContentControl x:Name="EventListContent" />
|
|
|
|
|
</md:Card>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
</UserControl>
|