2024-05-25 07:53:34 -03:00
|
|
|
<UserControl x:Class="CtrEditor.ObjetosSim.ucAnalogTag"
|
2024-05-23 14:56:14 -03:00
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
|
|
|
xmlns:ei="http://schemas.microsoft.com/xaml/behaviors"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:convert="clr-namespace:CtrEditor.Convertidores"
|
2024-05-25 07:53:34 -03:00
|
|
|
xmlns:vm="clr-namespace:CtrEditor.ObjetosSim"
|
2024-05-23 14:56:14 -03:00
|
|
|
mc:Ignorable="d">
|
|
|
|
|
|
|
|
<UserControl.Resources>
|
|
|
|
<convert:MeterToPixelConverter x:Key="MeterToPixelConverter"/>
|
|
|
|
</UserControl.Resources>
|
|
|
|
|
|
|
|
<UserControl.DataContext>
|
|
|
|
<vm:osAnalogTag/>
|
|
|
|
</UserControl.DataContext>
|
|
|
|
|
|
|
|
<Grid Margin="10">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Border x:Name="BackgroundRectangle"
|
|
|
|
BorderBrush="Black"
|
|
|
|
BorderThickness="2"
|
|
|
|
CornerRadius="10,0,0,10"
|
|
|
|
Width="30"
|
|
|
|
Height="40"
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
Background="BlueViolet"/>
|
|
|
|
<Label Content="{Binding Descripcion}" Grid.Column="1" VerticalAlignment="Center" Background="{Binding Color}" />
|
|
|
|
<TextBox Grid.Column="2" Text="{Binding Value}" VerticalAlignment="Center" Width="80" TextAlignment="Center" Background="White"/>
|
|
|
|
</Grid>
|
|
|
|
</UserControl>
|
|
|
|
|