-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTextPreviewWindow.xaml
More file actions
40 lines (39 loc) · 1.47 KB
/
TextPreviewWindow.xaml
File metadata and controls
40 lines (39 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<Window x:Class="CFRezManager.TextPreviewWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Text Preview"
Width="920"
Height="660"
MinWidth="520"
MinHeight="320"
WindowStartupLocation="CenterOwner"
ShowInTaskbar="False"
Background="#F8FAFC">
<DockPanel Background="#F8FAFC">
<Border x:Name="PreviewInfoBar"
DockPanel.Dock="Top"
Background="#EEF2F7"
BorderBrush="#D7DCE2"
BorderThickness="0,0,0,1"
Padding="12,7"
Visibility="Collapsed">
<TextBlock x:Name="PreviewInfoText"
Foreground="#374151"
FontSize="12"
FontWeight="SemiBold"
TextTrimming="CharacterEllipsis"/>
</Border>
<TextBox x:Name="ContentTextBox"
AcceptsReturn="True"
AcceptsTab="True"
Background="#FFFFFF"
BorderThickness="0"
FontFamily="Cascadia Mono, Consolas, Malgun Gothic, Microsoft YaHei UI"
FontSize="13"
HorizontalScrollBarVisibility="Auto"
IsReadOnly="True"
Padding="12"
TextWrapping="NoWrap"
VerticalScrollBarVisibility="Auto"/>
</DockPanel>
</Window>