38 lines
1.6 KiB
XML
38 lines
1.6 KiB
XML
<UserControl
|
|
x:Class="_20230724_MBJC_upperpc.Views.BuoyPlatformView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:converters="clr-namespace:_20230724_MBJC_upperpc.Common"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:_20230724_MBJC_upperpc.Views"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
d:DesignHeight="450"
|
|
d:DesignWidth="800"
|
|
mc:Ignorable="d">
|
|
<UserControl.Resources>
|
|
<ResourceDictionary>
|
|
<converters:AspectRatioConverter x:Key="AspectRatioConverter" />
|
|
</ResourceDictionary>
|
|
</UserControl.Resources>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="9*" />
|
|
<ColumnDefinition Width="7*" />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid Name="LeftGrid" Grid.Column="0">
|
|
<local:BuoyModel
|
|
x:Name="BuoyModel"
|
|
Rotate_X="0"
|
|
Rotate_Y="0"
|
|
Rotate_Z="0"
|
|
TBDEnable="True" />
|
|
<local:InitialView
|
|
Width="{Binding ElementName=LeftGrid, Path=ActualWidth, Converter={StaticResource AspectRatioConverter}, ConverterParameter=4}"
|
|
Height="{Binding ElementName=LeftGrid, Path=ActualHeight, Converter={StaticResource AspectRatioConverter}, ConverterParameter=4}"
|
|
Margin="10,0,0,10"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Bottom" />
|
|
</Grid>
|
|
</Grid>
|
|
</UserControl>
|