| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <UserControl x:Class="MaintainModule.Views.IOTubeMaintain"
- 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:MaintainModule.Views"
- xmlns:prism="http://prismlibrary.com/"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <UserControl.Resources>
- <ResourceDictionary >
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="/UICommon;component/Resources.xaml"/>
- </ResourceDictionary.MergedDictionaries>
- </ResourceDictionary>
- </UserControl.Resources>
- <Grid Margin="8">
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="8"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <StackPanel Orientation="Horizontal">
- <RadioButton Style="{StaticResource FunctionRadio}" Width="120" Height="36" Command="{Binding SwitchCommand}" CommandParameter="IOTubeDI" IsChecked="True">DI</RadioButton>
- <RadioButton Style="{StaticResource FunctionRadio}" Width="120" Height="36" Command="{Binding SwitchCommand}" CommandParameter="IOTubeDO">DO</RadioButton>
- <RadioButton Style="{StaticResource FunctionRadio}" Width="120" Height="36" Command="{Binding SwitchCommand}" CommandParameter="IOTubeAI">AI</RadioButton>
- <RadioButton Style="{StaticResource FunctionRadio}" Width="120" Height="36" Command="{Binding SwitchCommand}" CommandParameter="IOTubeAO">AO</RadioButton>
- </StackPanel>
- <Border Grid.Row="2" CornerRadius="4" Background="{StaticResource BorderBackgroundColor}">
- <ContentControl Margin="8,16" prism:RegionManager.RegionName="IOTubeRegion"/>
- </Border>
- </Grid>
- </UserControl>
|