Temp.xaml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <UserControl x:Class="SummaryModule.Views.Temp"
  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:SummaryModule.Views"
  7. xmlns:prism="http://prismlibrary.com/"
  8. mc:Ignorable="d"
  9. d:DesignHeight="450" d:DesignWidth="800">
  10. <UserControl.Resources>
  11. <ResourceDictionary >
  12. <ResourceDictionary.MergedDictionaries>
  13. <ResourceDictionary Source="/UICommon;component/Resources.xaml"/>
  14. </ResourceDictionary.MergedDictionaries>
  15. </ResourceDictionary>
  16. </UserControl.Resources>
  17. <Grid Margin="8">
  18. <Grid.RowDefinitions>
  19. <RowDefinition Height="auto"/>
  20. <RowDefinition Height="8"/>
  21. <RowDefinition/>
  22. </Grid.RowDefinitions>
  23. <Grid Height="38">
  24. <Grid.ColumnDefinitions>
  25. <ColumnDefinition Width="128"/>
  26. <ColumnDefinition Width="0"/>
  27. <ColumnDefinition Width="128"/>
  28. <ColumnDefinition Width="0"/>
  29. <ColumnDefinition Width="128"/>
  30. <ColumnDefinition Width="0"/>
  31. <ColumnDefinition Width="128"/>
  32. </Grid.ColumnDefinitions>
  33. <RadioButton Grid.Column="0" Style="{StaticResource FunctionRadio}" Command="{Binding SwitchCommand}" CommandParameter="TempMain">Main</RadioButton>
  34. <RadioButton Grid.Column="2" Style="{StaticResource FunctionRadio}" Command="{Binding SwitchCommand}" CommandParameter="TempProfile">Profile</RadioButton>
  35. <RadioButton Grid.Column="4" Style="{StaticResource FunctionRadio}" Command="{Binding SwitchCommand}" CommandParameter="TempDDC">DDC</RadioButton>
  36. <RadioButton Grid.Column="6" Style="{StaticResource FunctionRadio}" Command="{Binding SwitchCommand}" CommandParameter="TempOverHeat">OverHeat</RadioButton>
  37. </Grid>
  38. <Border Grid.Row="2" >
  39. <ContentControl prism:RegionManager.RegionName="TempRegion"/>
  40. </Border>
  41. </Grid>
  42. </UserControl>