<UserControl x:Class="CtrEditor.ObjetosSim.ucAnalogTag"
             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:vm="clr-namespace:CtrEditor.ObjetosSim"
             mc:Ignorable="d">

    <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>

