TemperatureDetailAllZoneView.xaml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <UserControl x:Class="FurnaceUI.Views.Operations.TemperatureDetailAllZoneView"
  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:local="clr-namespace:FurnaceUI.Views.Operations" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:cal="http://www.caliburn.org"
  7. mc:Ignorable="d"
  8. Height="250" Width="700" FontFamily="Segoe">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="50"/>
  12. <RowDefinition Height="120"/>
  13. <RowDefinition Height="80"/>
  14. </Grid.RowDefinitions>
  15. <DockPanel Grid.Row="1" Grid.Column="0">
  16. <Canvas>
  17. <TextBlock Text="Value:" FontSize="30" Canvas.Left="180" Canvas.Top="28"/>
  18. <TextBox Text="{Binding TempSetValue,UpdateSourceTrigger=PropertyChanged}" Width="200" Height="42" FontSize="25" Canvas.Left="280" Canvas.Top="26" Tag="Number"/>
  19. </Canvas>
  20. </DockPanel>
  21. <DockPanel Grid.Row="2" Grid.Column="0">
  22. <Canvas>
  23. <Button Width="130" Height="45" Content="Close" Canvas.Left="540" Canvas.Top="20" Style="{StaticResource CommandButton}">
  24. <i:Interaction.Triggers>
  25. <i:EventTrigger EventName="Click">
  26. <cal:ActionMessage MethodName="CloseCmd">
  27. </cal:ActionMessage>
  28. </i:EventTrigger>
  29. </i:Interaction.Triggers>
  30. </Button>
  31. <Button Width="130" Height="45" Content="Save" Canvas.Left="390" Canvas.Top="20" Style="{StaticResource CommandButton}" IsEnabled="{Binding IsEnable}">
  32. <i:Interaction.Triggers>
  33. <i:EventTrigger EventName="Click">
  34. <cal:ActionMessage MethodName="SaveCmd">
  35. </cal:ActionMessage>
  36. </i:EventTrigger>
  37. </i:Interaction.Triggers>
  38. </Button>
  39. </Canvas>
  40. </DockPanel>
  41. </Grid>
  42. </UserControl>