83 lines
5.4 KiB
XML
83 lines
5.4 KiB
XML
<local:MyPageRight
|
|||
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
|
xmlns:local="clr-namespace:PCL" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
|
mc:Ignorable="d" x:Class="PCL.PageLogRight">
|
||
|
|
<Grid>
|
||
|
|
<Grid x:Name="PanAllBack">
|
||
|
|
<local:MyCard Margin="16,16,16,100" x:Name="PanLogCard">
|
||
|
|
<local:MyScrollViewer Margin="12,40,12,20"
|
||
|
|
VerticalScrollBarVisibility="Auto"
|
||
|
|
HorizontalScrollBarVisibility="Disabled"
|
||
|
|
x:Name="PanBack">
|
||
|
|
<RichTextBox x:Name="PanLog"
|
||
|
|
FontSize="14"
|
||
|
|
FontFamily="Consolas"
|
||
|
|
HorizontalAlignment="Stretch"
|
||
|
|
VerticalAlignment="Stretch"
|
||
|
|
BorderThickness="0"
|
||
|
|
Background="Transparent"
|
||
|
|
IsReadOnly="True"
|
||
|
|
VirtualizingPanel.IsVirtualizing="True"
|
||
|
|
VirtualizingPanel.VirtualizationMode="Recycling"
|
||
|
|
VirtualizingPanel.IsContainerVirtualizable="True"
|
||
|
|
VirtualizingPanel.IsVirtualizingWhenGrouping="True"
|
||
|
|
VirtualizingPanel.ScrollUnit="Pixel" />
|
||
|
|
</local:MyScrollViewer>
|
||
|
|
</local:MyCard>
|
||
|
|
</Grid>
|
||
|
|
|
||
|
|
<!--<local:MyCard HorizontalAlignment="Center" VerticalAlignment="Center" Margin="40" x:Name="PanEmpty" UseAnimation="False">
|
||
|
|
<StackPanel Margin="20,17">
|
||
|
|
<TextBlock Name="LabEmptyTitle" Margin="0,0,0,9" HorizontalAlignment="Center" Text="{DynamicResource LogPage.Empty.Title}" FontSize="19" UseLayoutRounding="True" SnapsToDevicePixels="True" Foreground="{DynamicResource ColorBrush3}" />
|
||
|
|
<Rectangle HorizontalAlignment="Stretch" Height="2" Fill="{DynamicResource ColorBrush3}" />
|
||
|
|
<TextBlock Name="LabEmptyContent" Margin="10,15,10,5" Text="{DynamicResource LogPage.Empty.Description}" TextWrapping="Wrap" />
|
||
|
|
</StackPanel>
|
||
|
|
</local:MyCard>-->
|
||
|
|
|
||
|
|
<local:MyCard x:Name="CardOperation" Visibility="Visible" Opacity="0"
|
||
|
|
HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,15,0,10" UseAnimation="False"
|
||
|
|
HasMouseAnimation="True">
|
||
|
|
<StackPanel Margin="0,6,0,6">
|
||
|
|
<StackPanel x:Name="OperationsContainer" Orientation="Horizontal" Margin="10,8,10,8"
|
||
|
|
HorizontalAlignment="Center">
|
||
|
|
<local:MyCheckBox x:Name="CheckAutoScroll" Margin="5,0,5,0"
|
||
|
|
Text="{DynamicResource LogPage.Action.Scroll}" Checked="True" />
|
||
|
|
<local:MyIconTextButton x:Name="BtnOperationExport" Margin="5,0,0,0"
|
||
|
|
Text="{DynamicResource LogPage.Action.Export}"
|
||
|
|
Click="BtnOperationExport_Click"
|
||
|
|
LogoScale="1"
|
||
|
|
SvgIcon="lucide/save" />
|
||
|
|
<local:MyIconTextButton x:Name="BtnOperationClear" Margin="5,0,0,0"
|
||
|
|
Text="{DynamicResource LogPage.Action.Clear}"
|
||
|
|
Click="BtnOperationClear_Click"
|
||
|
|
LogoScale="1.1"
|
||
|
|
SvgIcon="lucide/trash-2" />
|
||
|
|
<local:MyIconTextButton x:Name="BtnOperationKill" Margin="5,0,0,0"
|
||
|
|
Text="{DynamicResource LogPage.Action.KillProcess}"
|
||
|
|
Click="BtnOperationKill_Click"
|
||
|
|
LogoScale="0.85"
|
||
|
|
SvgIcon="lucide/x" />
|
||
|
|
<local:MyIconTextButton x:Name="BtnOperationExportStackDump" Margin="5,0,0,0"
|
||
|
|
Text="{DynamicResource LogPage.Action.ExportStack}"
|
||
|
|
Click="BtnOperationExportStackDump_Click"
|
||
|
|
LogoScale="0.85"
|
||
|
|
SvgIcon="lucide/package" />
|
||
|
|
</StackPanel>
|
||
|
|
<Grid VerticalAlignment="Center" Margin="12,0,12,4">
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="Auto" />
|
||
|
|
<ColumnDefinition Width="*" />
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<TextBlock Grid.Column="0" HorizontalAlignment="Left"
|
||
|
|
Text="{DynamicResource LogPage.MaxLines.Title}" Margin="0,0,25,0" />
|
||
|
|
<local:MySlider x:Name="SliderMaxLog" Grid.Column="1" HorizontalAlignment="Stretch"
|
||
|
|
Change="SliderMaxLog_ValueChanged"
|
||
|
|
Tag="SystemMaxLog" MaxValue="29" Value="13"
|
||
|
|
ToolTip="{DynamicResource LogPage.MaxLines.ToolTip}" />
|
||
|
|
</Grid>
|
||
|
|
</StackPanel>
|
||
|
|
</local:MyCard>
|
||
|
|
</Grid>
|
||
|
|
</local:MyPageRight>
|