2024-05-11 11:58:55 -03:00
|
|
|
<UserControl x:Class="CtrEditor.ObjetosSim.ucVMmotorSim"
|
|
|
|
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:CtrEditor.ObjetosSim"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
xmlns:convert="clr-namespace:CtrEditor.Convertidores">
|
|
|
|
|
|
|
|
<UserControl.Resources>
|
|
|
|
<convert:MeterToPixelConverter x:Key="MeterToPixelConverter"/>
|
|
|
|
</UserControl.Resources>
|
|
|
|
|
|
|
|
<Grid>
|
2024-05-18 05:53:04 -03:00
|
|
|
<Image Source="{Binding ImageSource}"
|
2024-05-11 11:58:55 -03:00
|
|
|
Width="{Binding Tamano, Converter={StaticResource MeterToPixelConverter}}"
|
|
|
|
Height="{Binding Tamano, Converter={StaticResource MeterToPixelConverter}}"
|
|
|
|
Stretch="Uniform"/>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</UserControl>
|