123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <UserControl x:Class="MECF.Framework.UI.Client.CenterViews.Parameter.InterlockActionAutoView"
- 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:MECF.Framework.UI.Client.CenterViews.Parameter"
- xmlns:cal="clr-namespace:Caliburn.Micro"
- xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
- mc:Ignorable="d"
- Height="140" Width="150">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="70"/>
- <RowDefinition Height="70"/>
- </Grid.RowDefinitions>
- <Border Grid.Column="0" Grid.Row="0">
- <RadioButton Content="Auto" GroupName="Auto" Margin="10">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="AutoSelect">
- <cal:Parameter Value="Auto"/>
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </RadioButton>
- </Border>
- <Border Grid.Column="0" Grid.Row="1">
- <RadioButton Content="Manual" GroupName="Auto" Margin="10">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="AutoSelect">
- <cal:Parameter Value="Manual"/>
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </RadioButton>
- </Border>
- </Grid>
- </Grid>
- </UserControl>
|