/
n1kolas
/
NoteCreator
Обзор
Документация
Войти
/
n1kolas
/
NoteCreator
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
UI/Pages/NoteDisplayPage.xaml
48 строк
2 KB
Nicolai
upgradus
13 окт 2025, 23:52
13 окт 2025, 23:52
f1d6a17
Код
Авторство
О чём код?
<Page x:Class="LogIn.UI.Pages.NoteDisplayPage" 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" xmlns:local="clr-namespace:LogIn.UI.Pages" mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800" Title="NoteDisplayPage"> <Grid Background="{DynamicResource Background}" > <Grid.RowDefinitions> <RowDefinition Height="10*"></RowDefinition> <RowDefinition Height="80*"></RowDefinition> <RowDefinition Height="50"></RowDefinition> </Grid.RowDefinitions> <TextBox x:Name="NoteNameBox" Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" TextAlignment="Left" Background="{DynamicResource Surface}" Foreground="{DynamicResource Foreground}" Text="{Binding NoteName}" Margin="5"/> <TextBox x:Name="NoteContentBox" TextAlignment="Left" VerticalContentAlignment="Top" Grid.Row="1" Width="Auto" Background="{DynamicResource Surface}" Foreground="{DynamicResource Foreground}" Text="{Binding NoteContent}" AcceptsReturn="True" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5"> </TextBox> <StatusBar Grid.Row="2"> <StatusBarItem Background="{DynamicResource Background}" > <Button x:Name="SaveButton" Click="SaveButton_Click" Width="150" Height="35" Content="Сохранить"></Button> </StatusBarItem> </StatusBar> </Grid> </Page>