PowerSupplierStepControl.xaml 1.8 KB

123456789101112131415161718192021
  1. <UserControl x:Class="CyberX8_Themes.UserControls.PowerSupplierStepControl"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core"
  7. xmlns:local="clr-namespace:CyberX8_Themes.UserControls"
  8. mc:Ignorable="d" Name="self"
  9. d:DesignHeight="35" d:DesignWidth="280">
  10. <Grid>
  11. <Label Grid.Column="0" Content="Current" VerticalContentAlignment="Center" HorizontalAlignment="Left" Margin="2,0,0,0"/>
  12. <control:NumbericTextBox Width="54" Height="25" Value="{Binding ElementName=self,Path=Current,StringFormat={}{0:F3},Mode=TwoWay}" HorizontalAlignment="Left"
  13. Margin="59,5,0,5" />
  14. <Label Content="time" VerticalContentAlignment="Center" HorizontalAlignment="Left" Margin="116,0,0,0"/>
  15. <control:IntegerTextBox Width="27" Height="25" Value="{Binding ElementName=self,Path=Hour,Mode=TwoWay}" HorizontalAlignment="Left" Margin="152,5,0,5" />
  16. <control:IntegerTextBox Width="27" Height="25" Value="{Binding ElementName=self,Path=Minute,Mode=TwoWay}" HorizontalAlignment="Left" Margin="182,5,0,5" />
  17. <control:IntegerTextBox Width="27" Height="25" Value="{Binding ElementName=self,Path=Second,Mode=TwoWay}" HorizontalAlignment="Left" Margin="212,5,0,5" />
  18. <control:IntegerTextBox Width="34" Height="25" Value="{Binding ElementName=self,Path=MicroSecond,Mode=TwoWay}" HorizontalAlignment="Left" Margin="242,5,0,5" />
  19. </Grid>
  20. </UserControl>