-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUpdate_task.xaml
More file actions
54 lines (50 loc) · 2.74 KB
/
Update_task.xaml
File metadata and controls
54 lines (50 loc) · 2.74 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<Window x:Class="TASKIFY.Update_task"
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:TASKIFY"
mc:Ignorable="d"
Title="Update_task" Height="450" Width="800" Background="#141625">
<Border Padding="80 20">
<StackPanel>
<Grid Margin="0 20" HorizontalAlignment="Center">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Button Grid.Column="0" Content="Back" Foreground="White" Background="#7C5DFA" Click="Back_Button_Click" Width="100" Margin="0 0 100 0">
<Button.Resources>
<Style TargetType="Border">
<Setter Property="CornerRadius" Value="15"/>
<Setter Property="Padding" Value="5"/>
</Style>
</Button.Resources>
</Button>
<TextBlock Grid.Column="1" Foreground="White" Text="Update Task" FontWeight="Bold" FontSize="25"/>
</Grid>
<Grid HorizontalAlignment="Center" Margin="0 20" Width="400">
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Foreground="White" Text="Task Title:" Margin="0 10"/>
<TextBox Grid.Row="1" x:Name="task_title" Background="Transparent" BorderBrush="#7C5DFA" BorderThickness=" 0 0 0 2" Foreground="white"/>
<TextBlock Grid.Row="2" Foreground="White" Text="Task Description:" Margin="0 10"/>
<TextBox Grid.Row="3" x:Name="task_description" Background="Transparent" BorderBrush="#7C5DFA" BorderThickness=" 0 0 0 2" Foreground="white" />
<Button Grid.Row="5" Content="Update Task" Foreground="White" Background="#7C5DFA" Margin="0 10" Click="Update_Button_Click">
<Button.Resources>
<Style TargetType="Border">
<Setter Property="CornerRadius" Value="5"/>
<Setter Property="Padding" Value="5"/>
</Style>
</Button.Resources>
</Button>
</Grid>
</StackPanel>
</Border>
</Window>