chr
2026-04-05 fe750b791d5b517cc4e9bc8e99a9a75139a0cfba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<UserControl x:Class="OpenTapEditor.BreakConditionCtrl"
             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:OpenTapEditor.UI"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <CheckBox VerticalAlignment="Center" IsChecked="{Binding CanEdit,Mode=TwoWay}"/>
        <ComboBox Grid.Column="1" IsEnabled="{Binding CanEdit,Mode=OneWay}" 
                  ItemsSource="{Binding Source={StaticResource BreakConditionValues}}"
                  SelectedItem="{Binding Value}"/>
    </Grid>
</UserControl>