2024-05-15 04:59:48 -03:00
|
|
|
<UserControl x:Class="CtrEditor.ObjetosSim.ucSensTemperatura"
|
|
|
|
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"
|
2024-05-22 14:21:39 -03:00
|
|
|
xmlns:vm="clr-namespace:CtrEditor.ObjetosSim"
|
2024-05-31 10:06:49 -03:00
|
|
|
mc:Ignorable="d">
|
2024-05-22 14:21:39 -03:00
|
|
|
|
|
|
|
<UserControl.DataContext>
|
|
|
|
<vm:osSensTemperatura />
|
|
|
|
</UserControl.DataContext>
|
|
|
|
|
2024-05-15 04:59:48 -03:00
|
|
|
<Grid>
|
|
|
|
<Border x:Name="BackgroundRectangle"
|
|
|
|
BorderBrush="Black"
|
|
|
|
BorderThickness="2"
|
|
|
|
Height="{Binding Alto, Converter={StaticResource MeterToPixelConverter}, ConverterParameter=1.5}"
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
Background="Gray"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
Width="{Binding Ancho, Converter={StaticResource MeterToPixelConverter}}">
|
|
|
|
<Grid>
|
|
|
|
<Slider
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
Height="{Binding Alto, Converter={StaticResource MeterToPixelConverter}}"
|
|
|
|
Orientation="Vertical"
|
|
|
|
Value="{Binding Value}"
|
|
|
|
Maximum="100"/>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
</Grid>
|
|
|
|
</UserControl>
|