<UserControl x:Class="CyberX8_Themes.UserControls.GroupDigitalBoxControl" 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:CyberX8_Themes.UserControls" xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core" xmlns:converters="clr-namespace:CyberX8_Themes.Converters" mc:Ignorable="d" Name="self" d:DesignHeight="70" Width="486"> <UserControl.Resources> <converters:DecimalPrecisionConverter x:Key="decimalPrecisionConverter"/> </UserControl.Resources> <Grid> <GroupBox Grid.Row="3" Header="{Binding ElementName=self,Path=Title}" IsEnabled="{Binding Enable}"> <Grid> <Rectangle x:Name="RectangleSetPoint" Fill="Transparent" Stroke="Transparent" StrokeThickness="1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="435" Height="36" Margin="10,0,0,0"/> <Control:NumbericTextBox Name="txtValue" Value="{Binding ElementName=self,Path=DigitalValue,Mode=TwoWay}" Height="30" VerticalAlignment="Top" Margin="18,3,55,0"/> <Label Content="{Binding ElementName=self,Path=Unit}" HorizontalAlignment="Right" VerticalAlignment="Top" Height="30" Width="55" Margin="0,3,0,0"></Label> <Label Content="{Binding ElementName=self,Path=MinValue}" HorizontalAlignment="Left" Width="40" Margin="17,31,0,-9"/> <Label Content="{Binding ElementName=self,Path=MaxValue}" HorizontalAlignment="Right" Width="40" Margin="0,31,30,-9"/> </Grid> </GroupBox> </Grid> </UserControl>