2024-05-11 11:58:55 -03:00
|
|
|
<UserControl x:Class="CtrEditor.ObjetosSim.ucTransporteCurva"
|
|
|
|
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:localuc="clr-namespace:CtrEditor.ObjetosSim.UserControls"
|
|
|
|
xmlns:convert="clr-namespace:CtrEditor.Convertidores"
|
2024-05-22 06:19:31 -03:00
|
|
|
xmlns:vm="clr-namespace:CtrEditor.ObjetosSim"
|
2024-05-11 11:58:55 -03:00
|
|
|
mc:Ignorable="d">
|
|
|
|
<UserControl.Resources>
|
|
|
|
<convert:MeterToPixelConverter x:Key="MeterToPixelConverter"/>
|
|
|
|
</UserControl.Resources>
|
2024-05-21 07:52:44 -03:00
|
|
|
|
2024-05-22 06:19:31 -03:00
|
|
|
<UserControl.DataContext>
|
|
|
|
<vm:osTransporteCurva />
|
|
|
|
</UserControl.DataContext>
|
|
|
|
|
|
|
|
<Canvas x:Name="MainCanvas">
|
|
|
|
|
|
|
|
<localuc:CircularSegment x:Name="Transporte" Angle="0" OuterRadius="{Binding RadioExterno, Converter={StaticResource MeterToPixelConverter}}" InnerRadius="{Binding RadioInterno, Converter={StaticResource MeterToPixelConverter}}"
|
|
|
|
StartAngle="{Binding Angulo}" EndAngle="{Binding AnguloFinal}" />
|
2024-05-11 11:58:55 -03:00
|
|
|
</Canvas>
|
|
|
|
</UserControl>
|