-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
20 lines (20 loc) · 1.07 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<Window x:Class="H_Writes.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:H_Writes"
mc:Ignorable="d"
Title="MainWindow" WindowStyle="None" WindowState="Maximized">
<Window.Resources>
<Style x:Key="NoCaretTextBoxStyle" TargetType="TextBox">
<Setter Property="CaretBrush" Value="Transparent" />
</Style>
</Window.Resources>
<Grid Background="Black">
<TextBox x:Name="TextInput" Width="1000" VerticalAlignment="Center" HorizontalAlignment="Center"
FontSize="80" Background="Black" Foreground="White" BorderThickness="0" FlowDirection="RightToLeft"
TextAlignment="Center" AcceptsReturn="True" TextWrapping="Wrap" KeyUp="TextInput_KeyUp"
IsReadOnlyCaretVisible="False" />
</Grid>
</Window>