You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.7 KiB

2 years ago
<UserControl x:Class="ToDoApp.SubControl.ToDoListItem"
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:ToDoApp.SubControl"
mc:Ignorable="d"
d:DesignHeight="50" d:DesignWidth="300">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="25"/>
<ColumnDefinition Width="*"/>
2 years ago
<ColumnDefinition Width="100"/>
2 years ago
</Grid.ColumnDefinitions>
<Grid.ContextMenu>
<ContextMenu>
<MenuItem x:Name="miToday" Header="오늘 하루에 추가"
Click="miToday_Click"/>
<MenuItem x:Name="miFinish" Header="완료됨으로 표시"
Click="miFinish_Click"/>
<Separator/>
<MenuItem x:Name="miDelete" Header="작업 삭제" Foreground="OrangeRed"
Click="miDelete_Click"/>
</ContextMenu>
</Grid.ContextMenu>
<CheckBox x:Name="ckbFinish" Grid.Column="0" HorizontalAlignment="Left" VerticalAlignment="Center"
Checked="ckbFinish_Checked"/>
<TextBlock x:Name="tbItemName" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Center" Text="Item Name"/>
2 years ago
<TextBlock x:Name="tbIsToday" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="Gray" Text="☀오늘 할 일"/>
2 years ago
</Grid>
</UserControl>