Skip to content

Commit

Permalink
Add check box in Demo project
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinFarL committed Jan 17, 2025
1 parent f2efa52 commit 87e6205
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DiffPlex.Wpf.Demo/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<Button Width="20" Height="20" x:Name="FutherActionsButton" Content="" Click="FutherActionsButton_Click" BorderBrush="{x:Null}" BorderThickness="0" Margin="0,0,31,0" />
<CheckBox Width="120" Height="20" VerticalContentAlignment="Center" IsChecked="{Binding IsSideBySide, ElementName=DiffView}" Content="Is_SideBySide" Foreground="{Binding Foreground, ElementName=DiffView}" />
<CheckBox Height="20" VerticalContentAlignment="Center" x:Name="IgnoreUnchangedCheckBox" IsChecked="{Binding IgnoreUnchanged, ElementName=DiffView}" Content="IgnoreUnchanged" Margin="0,0,24,0" Foreground="{Binding Foreground, ElementName=DiffView}" />
<CheckBox Height="20" VerticalContentAlignment="Center" x:Name="HideLineNumbersCheckBox" IsChecked="{Binding HideLineNumbers, ElementName=DiffView}" Content="HideLineNumbers" Margin="0,0,24,0" Foreground="{Binding Foreground, ElementName=DiffView}" />
<Label Height="20" VerticalContentAlignment="Center" Padding="0,0,8,0" x:Name="MarginLineCountLabel" Target="{Binding ElementName=MarginLineCount}" Foreground="{Binding Foreground, ElementName=DiffView}">LinesContext</Label>
<TextBox Width="100" Height="20" VerticalContentAlignment="Center" x:Name="MarginLineCount" Padding="8,0,8,0" Text="{Binding LinesContext, ElementName=DiffView, UpdateSourceTrigger=PropertyChanged}" Foreground="{Binding Foreground, ElementName=DiffView}" Background="{x:Null}" Margin="0,0,32,0" />
<Button Width="100" Height="20" x:Name="WindowButton" Content="Test window" Click="WindowButton_Click" BorderBrush="{x:Null}" BorderThickness="0" Margin="16,0,1,0" />
Expand Down

0 comments on commit 87e6205

Please sign in to comment.