1234567891011121314151617181920212223 |
- <UserControl x:Class="CyberX8_Themes.UserControls.GroupTextBoxControl"
- 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"
- mc:Ignorable="d" Name="self"
- d:DesignHeight="70" Width="486">
- <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:IntegerTextBox Name="txtValue" Value="{Binding ElementName=self,Path=IntValue,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>
|