CodeMergeNG/Controls/SimpleMergeLogControl.xaml

24 lines
1.3 KiB
Plaintext
Raw Normal View History

2025-02-28 10:43:44 -03:00
<UserControl x:Class="CodeMerger.Controls.SimpleMergeLogControl"
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" mc:Ignorable="d" d:DesignHeight="200"
d:DesignWidth="800">
<Grid>
<DockPanel LastChildFill="True">
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal" Margin="0,0,0,5">
<Button Content="Clear Log" Width="100" Height="25" Margin="0,0,10,0" Click="ClearLog_Click" />
<Button Content="Copy Log" Width="100" Height="25" Margin="0,0,10,0" Click="CopyLog_Click" />
<Button Content="Save Log" Width="100" Height="25" Margin="0,0,10,0" Click="SaveLog_Click" />
</StackPanel>
<RichTextBox x:Name="rtbLog" IsReadOnly="True" VerticalScrollBarVisibility="Auto"
HorizontalScrollBarVisibility="Auto">
<RichTextBox.Resources>
<Style TargetType="{x:Type Paragraph}">
<Setter Property="Margin" Value="0" />
</Style>
</RichTextBox.Resources>
</RichTextBox>
</DockPanel>
</Grid>
</UserControl>