2024-05-08 08:41:26 -03:00
|
|
|
<UserControl x:Class="CtrEditor.ObjetosSim.ucGuia"
|
|
|
|
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"
|
|
|
|
mc:Ignorable="d"
|
2024-05-22 06:19:31 -03:00
|
|
|
xmlns:vm="clr-namespace:CtrEditor.ObjetosSim"
|
2024-05-11 11:58:55 -03:00
|
|
|
xmlns:convert="clr-namespace:CtrEditor.Convertidores">
|
2024-05-08 08:41:26 -03:00
|
|
|
|
|
|
|
<UserControl.Resources>
|
2024-05-11 11:58:55 -03:00
|
|
|
<convert:MeterToPixelConverter x:Key="MeterToPixelConverter"/>
|
2024-05-08 08:41:26 -03:00
|
|
|
</UserControl.Resources>
|
|
|
|
|
2024-05-22 06:19:31 -03:00
|
|
|
<UserControl.DataContext>
|
|
|
|
<vm:osGuia/>
|
|
|
|
</UserControl.DataContext>
|
|
|
|
|
2024-05-08 08:41:26 -03:00
|
|
|
<Canvas>
|
2024-05-14 03:15:54 -03:00
|
|
|
<Rectangle x:Name="Guia" Width="{Binding Ancho, Converter={StaticResource MeterToPixelConverter}}" Height="{Binding AltoGuia, Converter={StaticResource MeterToPixelConverter}}" Fill="Blue">
|
2024-05-08 08:41:26 -03:00
|
|
|
<Rectangle.RenderTransform>
|
|
|
|
<RotateTransform Angle="{Binding Angulo}"/>
|
|
|
|
</Rectangle.RenderTransform>
|
|
|
|
</Rectangle>
|
|
|
|
</Canvas>
|
|
|
|
|
|
|
|
</UserControl>
|